poggit-orphanage / FactionsPro

By Tethered
21 stars 69 forks source link

Fixed undefined problem getPlayerByName() #67

Closed iZeaoGamer closed 5 years ago

iZeaoGamer commented 5 years ago

getPlayerByName() is no longer a thing with Pocketmine. I've tested this before, and it came up with undefined errors. This seem to fix it. This was either a typo, or an older way of getting a player's name.