Added PlayerInfo, Player is no longer accessible during PlayerPreLoginEvent

This commit is contained in:
Dylan K. Taylor
2019-01-13 19:32:30 +00:00
parent d2082c0383
commit 9c53b41851
6 changed files with 191 additions and 66 deletions

View File

@ -129,9 +129,9 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
}
/**
* @return UUID|null
* @return UUID
*/
public function getUniqueId() : ?UUID{
public function getUniqueId() : UUID{
return $this->uuid;
}