mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Fix Player->setGamemode()
doc comment (#5848)
this has been outdated likely since the 1.3 alpha days.
This commit is contained in:
parent
be8cca1d55
commit
391732f00c
@ -1129,7 +1129,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the gamemode, and if needed, kicks the Player.
|
||||
* Sets the provided gamemode.
|
||||
*/
|
||||
public function setGamemode(GameMode $gm) : bool{
|
||||
if($this->gamemode->equals($gm)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user