mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Added PlayerInfo, Player is no longer accessible during PlayerPreLoginEvent
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user