use of uk.co.qmunity.lib.client.gui.GuiContainerBase in project BluePower by Qmunity.
the class MessageSyncMachineBacklog method handleClientSide.
@Override
public void handleClientSide(EntityPlayer player) {
TileEntity te = player.worldObj.getTileEntity(x, y, z);
if (te instanceof TileMachineBase) {
((TileMachineBase) te).setBacklog(stacks);
GuiContainerBase gui = (GuiContainerBase) ClientProxy.getOpenedGui();
if (gui != null)
gui.redraw();
}
}
Aggregations