|
|
|
@ -33,7 +33,8 @@ public class MixinNetClientHandler implements INetHandler {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void wiremodHandleOpenWiringGUI(WiremodWiringGuiPacket packet) {
|
|
|
|
|
((IEntityPlayer)this.mc.thePlayer).displayGuiWiring(((ToolWiring)this.mc.thePlayer.inventory.getCurrentItem().getItem()), (AbstractWireTileEntity) this.mc.theWorld.getBlockTileEntity(packet.x, packet.y, packet.z), packet.x2, packet.y2, packet.z2);
|
|
|
|
|
if(this.mc.thePlayer.inventory.getCurrentItem().getItem() instanceof ToolWiring)
|
|
|
|
|
((IEntityPlayer)this.mc.thePlayer).displayGuiWiring(((ToolWiring)this.mc.thePlayer.inventory.getCurrentItem().getItem()), (AbstractWireTileEntity) this.mc.theWorld.getBlockTileEntity(packet.x, packet.y, packet.z), packet.x2, packet.y2, packet.z2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|