mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
Typo
This commit is contained in:
parent
caa32edf6f
commit
bd196c0fcb
@ -527,7 +527,7 @@ class Player{
|
|||||||
if(($this->gamemode === SURVIVAL and $gm === ADVENTURE) or ($this->gamemode === ADVENTURE and $gm === SURVIVAL)){
|
if(($this->gamemode === SURVIVAL and $gm === ADVENTURE) or ($this->gamemode === ADVENTURE and $gm === SURVIVAL)){
|
||||||
$this->gamemode = $gm;
|
$this->gamemode = $gm;
|
||||||
$this->sendSettings();
|
$this->sendSettings();
|
||||||
$this->eventHandler("Your gamemode has been changed to ".$this->getGamemode()."..", "server.chat");
|
$this->eventHandler("Your gamemode has been changed to ".$this->getGamemode().".", "server.chat");
|
||||||
}else{
|
}else{
|
||||||
$this->blocked = true;
|
$this->blocked = true;
|
||||||
$this->gamemode = $gm;
|
$this->gamemode = $gm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user