mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Updated for Minecraft: PE 0.7.2
This commit is contained in:
@ -87,7 +87,7 @@ class ChestBlock extends TransparentBlock{
|
||||
return true;
|
||||
}
|
||||
$player->windowCnt++;
|
||||
$player->windowCnt = $id = max(2, $player->windowCnt % 255);
|
||||
$player->windowCnt = $id = max(2, $player->windowCnt % 16);
|
||||
$player->windows[$id] = $chest;
|
||||
$player->dataPacket(MC_CONTAINER_OPEN, array(
|
||||
"windowid" => $id,
|
||||
|
Reference in New Issue
Block a user