This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-30 19:33:18 +01:00
parent caa32edf6f
commit bd196c0fcb

View File

@ -527,7 +527,7 @@ class Player{
if(($this->gamemode === SURVIVAL and $gm === ADVENTURE) or ($this->gamemode === ADVENTURE and $gm === SURVIVAL)){
$this->gamemode = $gm;
$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{
$this->blocked = true;
$this->gamemode = $gm;