From ad277ea335cd4121d1d9b0c630376805e416bd7b Mon Sep 17 00:00:00 2001 From: Alkalus Date: Wed, 15 Nov 2017 00:13:57 +1000 Subject: $ Fix Hatch Check on Sifter. $ Fix Invalid RFTools import. --- .../multi/GregtechMetaTileEntity_IndustrialSifter.java | 12 ++++++------ src/Java/gtPlusPlus/xmod/rftools/HANDLER_RfTools.java | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialSifter.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialSifter.java index 5fc1146bd1..b719fbb287 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialSifter.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialSifter.java @@ -353,12 +353,12 @@ extends GregtechMeta_MultiBlockBase { } } if ((this.mInputBusses.size() != 1) || (this.mOutputBusses.size() != 4) - || (this.mMaintenanceHatches.size() != 1) || (this.mEnergyHatches.size() != 1)) { - Utils.LOG_MACHINE_INFO("Returned False 3"); - Utils.LOG_MACHINE_INFO("Input Buses: "+this.mInputBusses.size()+" | expected: 1"); - Utils.LOG_MACHINE_INFO("Output Buses: "+this.mOutputBusses.size()+" | expected: 4"); - Utils.LOG_MACHINE_INFO("Energy Hatches: "+this.mEnergyHatches.size()+" | expected: 1"); - Utils.LOG_MACHINE_INFO("Maint. hatches: "+this.mMaintenanceHatches.size()+" | expected: 1"); + || (this.mMaintenanceHatches.size() != 1) || (this.mEnergyHatches.size() < 1)) { + Utils.LOG_INFO("Returned False 3"); + Utils.LOG_INFO("Input Buses: "+this.mInputBusses.size()+" | expected: 1"); + Utils.LOG_INFO("Output Buses: "+this.mOutputBusses.size()+" | expected: 4"); + Utils.LOG_INFO("Energy Hatches: "+this.mEnergyHatches.size()+" | expected: 1"); + Utils.LOG_INFO("Maint. hatches: "+this.mMaintenanceHatches.size()+" | expected: 1"); return false; } final int height = this.getBaseMetaTileEntity().getYCoord(); diff --git a/src/Java/gtPlusPlus/xmod/rftools/HANDLER_RfTools.java b/src/Java/gtPlusPlus/xmod/rftools/HANDLER_RfTools.java index 063346a578..f44a6fece6 100644 --- a/src/Java/gtPlusPlus/xmod/rftools/HANDLER_RfTools.java +++ b/src/Java/gtPlusPlus/xmod/rftools/HANDLER_RfTools.java @@ -1,7 +1,6 @@ package gtPlusPlus.xmod.rftools; import gtPlusPlus.core.lib.LoadedMods; -import gtPlusPlus.xmod.rftools.blocks.RFT_Block_Registrator; public class HANDLER_RfTools { -- cgit