use of pneumaticCraft.client.gui.GuiRemote in project PneumaticCraft by MineMaarten.
the class PacketSetGlobalVariable method handleClientSide.
@Override
@SideOnly(Side.CLIENT)
public void handleClientSide(PacketSetGlobalVariable message, EntityPlayer player) {
handleServerSide(message, player);
GuiScreen screen = Minecraft.getMinecraft().currentScreen;
if (screen instanceof GuiRemote) {
((GuiRemote) screen).onGlobalVariableChange(message.varName);
}
}