use of logisticspipes.gui.modules.GuiElectricManager in project LogisticsPipes by RS485.
the class ElectricModuleSlot method getClientGui.
@Override
public Object getClientGui(EntityPlayer player) {
ModuleElectricManager module = this.getLogisticsModule(player.getEntityWorld(), ModuleElectricManager.class);
if (module == null) {
return null;
}
module.setDischargeMode(isFlag());
return new GuiElectricManager(player.inventory, module);
}
Aggregations