mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Updated for Minecraft: PE 0.7.2
This commit is contained in:
parent
03b4e40bf4
commit
1727e18e31
6 changed files with 21 additions and 6 deletions
|
|
@ -69,7 +69,7 @@ class BurningFurnaceBlock extends SolidBlock{
|
|||
return true;
|
||||
}
|
||||
$player->windowCnt++;
|
||||
$player->windowCnt = $id = max(2, $player->windowCnt % 255);
|
||||
$player->windowCnt = $id = max(2, $player->windowCnt % 16);
|
||||
$player->windows[$id] = $furnace;
|
||||
$player->dataPacket(MC_CONTAINER_OPEN, array(
|
||||
"windowid" => $id,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue