mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Fix wrong comment
This commit is contained in:
parent
bb9ab525b6
commit
55ad6c6b95
@ -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{
|
||||
return ($this->gamemode & 0x01) === 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user