Fix wrong comment

This commit is contained in:
Dylan K. Taylor 2016-10-28 13:31:47 +01:00
parent bb9ab525b6
commit 55ad6c6b95

View File

@ -1180,7 +1180,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
} }
/** /**
* WARNING: This method does NOT return literal gamemode is creative, it will also return true for creative mode players. * WARNING: This method does NOT return literal gamemode is creative, it will also return true for spectator mode players.
*/ */
public function isCreative() : bool{ public function isCreative() : bool{
return ($this->gamemode & 0x01) === 1; return ($this->gamemode & 0x01) === 1;