use of logisticspipes.gui.GuiCraftingPipe in project LogisticsPipes by RS485.
the class CPipeCleanupStatus method processPacket.
@Override
@ClientSideOnlyMethodContent
public void processPacket(EntityPlayer player) {
final ModuleCrafter module = this.getLogisticsModule(player, ModuleCrafter.class);
if (module == null) {
return;
}
module.cleanupModeIsExclude = mode;
if (Minecraft.getMinecraft().currentScreen instanceof GuiCraftingPipe) {
((GuiCraftingPipe) Minecraft.getMinecraft().currentScreen).onCleanupModeChange();
}
}
Aggregations