mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Blocked again opening of chests in Creative mode
This commit is contained in:
parent
96baeaaad2
commit
639ca67a10
3 changed files with 7 additions and 4 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue