mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed Chest Slots not getting sent and shown
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user