Fix Player->setGamemode() doc comment (#5848)

this has been outdated likely since the 1.3 alpha days.
This commit is contained in:
Artem Vasyagin 2023-06-21 11:29:48 +03:00 committed by GitHub
parent be8cca1d55
commit 391732f00c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)){