Search in sources :

Example 1 with GuiSecurityStation

use of logisticspipes.gui.GuiSecurityStation in project LogisticsPipes by RS485.

the class SecurityStationOpenPlayer method handleClientSide.

@SideOnly(Side.CLIENT)
private void handleClientSide(EntityPlayer player) {
    if (FMLClientHandler.instance().getClient().currentScreen instanceof GuiSecurityStation) {
        SecuritySettings setting = new SecuritySettings(null);
        setting.readFromNBT(getTag());
        ((GuiSecurityStation) FMLClientHandler.instance().getClient().currentScreen).handlePlayerSecurityOpen(setting);
    }
}
Also used : GuiSecurityStation(logisticspipes.gui.GuiSecurityStation) SecuritySettings(logisticspipes.security.SecuritySettings) SideOnly(cpw.mods.fml.relauncher.SideOnly)

Aggregations

SideOnly (cpw.mods.fml.relauncher.SideOnly)1 GuiSecurityStation (logisticspipes.gui.GuiSecurityStation)1 SecuritySettings (logisticspipes.security.SecuritySettings)1