diff options
author | Jakub <53441451+kuba6000@users.noreply.github.com> | 2023-01-15 22:06:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-15 22:06:45 +0100 |
commit | 6a72db34accb5bb2f9de54c19790202aee3bd6ac (patch) | |
tree | 5c655e223bb44cb43bc875cf3cb6af69963ae5ca | |
parent | 0218c276312f432522e688aa43f4ac7c178e2a99 (diff) | |
download | GT5-Unofficial-6a72db34accb5bb2f9de54c19790202aee3bd6ac.tar.gz GT5-Unofficial-6a72db34accb5bb2f9de54c19790202aee3bd6ac.tar.bz2 GT5-Unofficial-6a72db34accb5bb2f9de54c19790202aee3bd6ac.zip |
Fix dehydrator singleblock (#501)
-rw-r--r-- | dependencies.gradle | 2 | ||||
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java | 21 |
2 files changed, 1 insertions, 22 deletions
diff --git a/dependencies.gradle b/dependencies.gradle index 5123c65c7b..879d17f5f8 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,7 +1,7 @@ dependencies { compile('com.github.GTNewHorizons:GT5-Unofficial:5.09.41.218:dev') compile("com.github.GTNewHorizons:StructureLib:1.2.0-beta.2:dev") - compile("com.github.GTNewHorizons:ModularUI:1.0.38:dev") {transitive=false} + compile("com.github.GTNewHorizons:ModularUI:1.0.46:dev") {transitive=false} compile("com.github.GTNewHorizons:NotEnoughItems:2.3.20-GTNH:dev") compile('com.github.GTNewHorizons:CodeChickenCore:1.1.7:dev') compile('com.github.GTNewHorizons:CodeChickenLib:1.1.5.6:dev') diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java index 02f0a3ff40..7273977101 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java @@ -6,14 +6,12 @@ import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_PIPE_OUT; import gregtech.api.enums.Textures; import gregtech.api.enums.Textures.BlockIcons.CustomIcon; import gregtech.api.interfaces.ITexture; -import gregtech.api.interfaces.metatileentity.IMetaTileEntity; import gregtech.api.interfaces.tileentity.IGregTechTileEntity; import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_GT_Recipe; import gregtech.api.objects.GT_RenderedTexture; import gregtech.api.render.TextureFactory; import gregtech.api.util.GTPP_Recipe; import gregtech.api.util.GT_Recipe; -import gregtech.api.util.GT_Recipe.GT_Recipe_Map; import gtPlusPlus.core.lib.CORE; @SuppressWarnings("deprecation") @@ -33,9 +31,6 @@ public class GT_MetaTileEntity_Dehydrator extends GT_MetaTileEntity_BasicMachine // 3 8 } - private GT_Recipe_Map xRecipes; - private int xTankCapacity; - public GT_MetaTileEntity_Dehydrator( int aID, String aName, String aNameRegional, int aTier, String aDescription, int aTankCapacity) { super( @@ -57,8 +52,6 @@ public class GT_MetaTileEntity_Dehydrator extends GT_MetaTileEntity_BasicMachine 0, "", null); - xRecipes = GTPP_Recipe.GTPP_Recipe_Map.sChemicalDehydratorRecipes; - xTankCapacity = aTankCapacity; } public GT_MetaTileEntity_Dehydrator( @@ -92,20 +85,6 @@ public class GT_MetaTileEntity_Dehydrator extends GT_MetaTileEntity_BasicMachine } @Override - public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) { - return new GT_MetaTileEntity_Dehydrator( - this.mName, - this.mTier, - this.mDescriptionArray, - this.xRecipes, - this.xTankCapacity, - this.mAmperage, - this.mTextures, - this.mGUIName, - this.mNEIName); - } - - @Override public String[] getDescription() { String[] S = super.getDescription(); final String[] desc = new String[S.length + 1]; |