Blocked again opening of chests in Creative mode

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-18 17:05:26 +02:00
parent 96baeaaad2
commit 639ca67a10
3 changed files with 7 additions and 4 deletions

View file

@ -560,6 +560,9 @@ class Player{
foreach(BlockAPI::$creative as $item){
$this->inventory[] = array(DANDELION, 0, 1);
}
}
if($this->itemEnforcement === true){
$this->sendInventory();
}
$this->eventHandler("Your gamemode has been changed to ".$this->getGamemode().".", "server.chat");