Merge branch 'master' of https://github.com/aidancbrady/Mekanism
This commit is contained in:
commit
132dcef0f6
2 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, IItem
|
|||
{
|
||||
if(isElectricChest(itemstack))
|
||||
{
|
||||
if(!world.isRemote)
|
||||
if(world != null && !world.isRemote)
|
||||
{
|
||||
InventoryElectricChest inv = new InventoryElectricChest(itemstack);
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public class GuiMultimeter extends GuiContainer
|
|||
data.add((byte)3);
|
||||
data.add(Float.parseFloat(textFieldLimit.getText()));
|
||||
|
||||
PacketHandler.sendPacket(Transmission.SERVER, new PacketTileEntity().setParams(Object3D.get(tileEntity)), data);
|
||||
PacketHandler.sendPacket(Transmission.SERVER, new PacketTileEntity().setParams(Object3D.get(tileEntity), data));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue