mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Fixed Chest Slots not getting sent and shown
This commit is contained in:
parent
5e52bbdd16
commit
d613fa2138
2 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ class ChestBlock extends SolidBlock{
|
|||
"slots" => 27,
|
||||
"title" => "Chest",
|
||||
));
|
||||
for($s = 0; $s < 3; ++$s){
|
||||
for($s = 0; $s < CHEST_SLOTS; ++$s){
|
||||
$slot = $chest->getSlot($s);
|
||||
if($slot->getID() > 0 and $slot->count > 0){
|
||||
$player->dataPacket(MC_CONTAINER_SET_SLOT, array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue