aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities
diff options
context:
space:
mode:
authordraknyte1 <draknyte1@hotmail.com>2016-10-04 00:16:29 +1000
committerdraknyte1 <draknyte1@hotmail.com>2016-10-04 00:16:29 +1000
commitd046bb695468cc2d83e886d96f0dc02af203cb97 (patch)
tree8466b8337cbf47fa28c5bc7503a3eb8c1d896cab /src/Java/gtPlusPlus/xmod/gregtech/common/tileentities
parente3f4a410ef0867359cab3ade72a20c3679aaad06 (diff)
downloadGT5-Unofficial-d046bb695468cc2d83e886d96f0dc02af203cb97.tar.gz
GT5-Unofficial-d046bb695468cc2d83e886d96f0dc02af203cb97.tar.bz2
GT5-Unofficial-d046bb695468cc2d83e886d96f0dc02af203cb97.zip
$ Fixed return values of the TC_AspectStack methods.
$ Fixed Cable Tile Entities for older GT versions, it now uses reflection to determine overheat ticks value, otherwise uses default. if .08 is loaded, it uses the old method. $ Swapped the tiered tank back to standard MTE classes. % Changed internal handling of GT Tools again, to better support wrenches on versions that don't themselves. + Added the last missing libs/deps.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/storage/GT_MetaTileEntity_TieredTank.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/storage/GT_MetaTileEntity_TieredTank.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/storage/GT_MetaTileEntity_TieredTank.java
index 6bce3b9f67..7946f5f8e5 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/storage/GT_MetaTileEntity_TieredTank.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/storage/GT_MetaTileEntity_TieredTank.java
@@ -7,15 +7,15 @@ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.objects.GT_RenderedTexture;
import gtPlusPlus.core.util.Utils;
-import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GregtechMetaBasicTank;
+import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.base.lossless.GregtechMetaTileEntityLosslessBasicTank;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fluids.FluidStack;
public class GT_MetaTileEntity_TieredTank
- extends GregtechMetaBasicTank {
+ extends GregtechMetaTileEntityLosslessBasicTank {
- protected FluidStack internalTank = getInternalStack();
+ //protected FluidStack internalTank = getInternalStack();
/*protected String fluidName = getFluidName();
protected int fluidAmount = getInternalFluidAmount();*/
@@ -80,11 +80,11 @@ public class GT_MetaTileEntity_TieredTank
public void loadNBTData(NBTTagCompound aNBT) {
super.loadNBTData(aNBT);
mFluid = FluidStack.loadFluidStackFromNBT(aNBT.getCompoundTag("mFluid"));
- if (getInternalStack() != null){
+ /*if (getInternalStack() != null){
Utils.LOG_INFO("Dumping Fluid data. Name: "+mFluid.getFluid().getName()+" Amount: "+mFluid.amount+"L");}
else{
//Utils.LOG_INFO("Loaded FluidStack was NULL");
- }
+ }*/
}
@Override