mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Fixed Creative Inventory in MCPE 0.6 & & 0.7
This commit is contained in:
parent
1c117883ab
commit
7c60ca753a
1 changed files with 2 additions and 0 deletions
|
|
@ -1733,7 +1733,9 @@ class Player{
|
||||||
|
|
||||||
}
|
}
|
||||||
$pk->hotbar = $hotbar;
|
$pk->hotbar = $hotbar;
|
||||||
|
if(!(($this->gamemode === CREATIVE || $this->gamemode === VIEW) && $this->PROTOCOL <= ProtocolInfo12::CURRENT_PROTOCOL_12)){
|
||||||
$this->dataPacket($pk);
|
$this->dataPacket($pk);
|
||||||
|
}
|
||||||
|
|
||||||
$this->sendingInventoryRequired = false;
|
$this->sendingInventoryRequired = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue