aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java
diff options
context:
space:
mode:
authorbombcar <github@bombcar.com>2022-02-15 14:23:18 -0600
committerGitHub <noreply@github.com>2022-02-15 21:23:18 +0100
commit34f8d8f3fb3e9154452d3c6ae95b2f46757dc195 (patch)
tree8fb27eb7ddf23af205faabd3147f53681f8989fa /src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java
parent54ace7e45a23591ec714ac263e83af2b73abfa7a (diff)
downloadGT5-Unofficial-34f8d8f3fb3e9154452d3c6ae95b2f46757dc195.tar.gz
GT5-Unofficial-34f8d8f3fb3e9154452d3c6ae95b2f46757dc195.tar.bz2
GT5-Unofficial-34f8d8f3fb3e9154452d3c6ae95b2f46757dc195.zip
Fixstructurelib (#17)
* update to handle TT change * shellcheck
Diffstat (limited to 'src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java')
-rw-r--r--src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java b/src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java
index de38e6b61b..d684738ecd 100644
--- a/src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java
+++ b/src/main/java/goodgenerator/blocks/tileEntity/YottaFluidTank.java
@@ -23,8 +23,6 @@ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Input
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Output;
import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Multiblock_Tooltip_Builder;
-import gregtech.api.util.GT_Utility;
-import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -410,12 +408,12 @@ public class YottaFluidTank extends GT_MetaTileEntity_MultiblockBase_EM implemen
@Override
public void construct(ItemStack stackSize, boolean hintsOnly) {
- structureBuild_EM(YOTTANK_BOTTOM, 2, 0, 0, hintsOnly, stackSize);
+ structureBuild_EM(YOTTANK_BOTTOM, 2, 0, 0, stackSize, hintsOnly);
int height = stackSize.stackSize;
if (height > 15) height = 15;
- structureBuild_EM(YOTTANK_TOP, 2, height + 2, 0, hintsOnly, stackSize);
+ structureBuild_EM(YOTTANK_TOP, 2, height + 2, 0, stackSize, hintsOnly);
while (height > 0) {
- structureBuild_EM(YOTTANK_MID, 2, height, 0, hintsOnly, stackSize);
+ structureBuild_EM(YOTTANK_MID, 2, height, 0, stackSize, hintsOnly);
height --;
}
}