Extract ++ and -- from expressions

This commit is contained in:
thatsIch
2015-03-26 11:07:26 +01:00
parent b31f2df58d
commit 9bf8b4388f
26 changed files with 89 additions and 40 deletions
@@ -172,7 +172,8 @@ public abstract class AEBaseContainer extends Container
int page = 0;
for (byte[] packet : miniPackets)
{
PacketPartialItem ppi = new PacketPartialItem( page++, miniPackets.size(), packet );
PacketPartialItem ppi = new PacketPartialItem( page, miniPackets.size(), packet );
page++;
NetworkHandler.instance.sendToServer( ppi );
}
}
@@ -223,7 +223,10 @@ public class ContainerCellWorkbench extends ContainerUpgradeable
for (int w = 0; w < 7; w++)
for (int z = 0; z < 9; z++)
this.addSlotToContainer( new SlotFakeTypeOnly( inv, offset++, x + z * 18, y + w * 18 ) );
{
this.addSlotToContainer( new SlotFakeTypeOnly( inv, offset, x + z * 18, y + w * 18 ) );
offset++;
}
for (int zz = 0; zz < 3; zz++)
for (int z = 0; z < 8; z++)