aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/tileentities
diff options
context:
space:
mode:
authorTechnus <daniel112092@gmail.com>2016-12-15 14:15:06 +0100
committerTechnus <daniel112092@gmail.com>2016-12-15 14:15:06 +0100
commit81ba247d787c3b2d58fb85e90e84a64a1c08e995 (patch)
treeae7e1eb6e54919ad07cbc93ddb0bf5096da758b6 /src/main/java/gregtech/common/tileentities
parenteb45538f03d8010bbd1db90269565504cc453168 (diff)
downloadGT5-Unofficial-81ba247d787c3b2d58fb85e90e84a64a1c08e995.tar.gz
GT5-Unofficial-81ba247d787c3b2d58fb85e90e84a64a1c08e995.tar.bz2
GT5-Unofficial-81ba247d787c3b2d58fb85e90e84a64a1c08e995.zip
Rework muffler add texture for eM overflow
Diffstat (limited to 'src/main/java/gregtech/common/tileentities')
-rw-r--r--src/main/java/gregtech/common/tileentities/storage/GT_MetaTileEntity_Locker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/storage/GT_MetaTileEntity_Locker.java b/src/main/java/gregtech/common/tileentities/storage/GT_MetaTileEntity_Locker.java
index 5e892e79e6..93611904b7 100644
--- a/src/main/java/gregtech/common/tileentities/storage/GT_MetaTileEntity_Locker.java
+++ b/src/main/java/gregtech/common/tileentities/storage/GT_MetaTileEntity_Locker.java
@@ -44,7 +44,7 @@ public class GT_MetaTileEntity_Locker
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
if (aSide == aFacing) {
- return new ITexture[]{this.mTextures[2][(aColorIndex + 1)][0], this.mTextures[2][(aColorIndex + 1)][1], Textures.BlockIcons.LOCKERS[java.lang.Math.abs(this.mType % Textures.BlockIcons.LOCKERS.length)]};
+ return new ITexture[]{this.mTextures[2][(aColorIndex + 1)][0], this.mTextures[2][(aColorIndex + 1)][1], Textures.BlockIcons.LOCKERS[Math.abs(this.mType % Textures.BlockIcons.LOCKERS.length)]};
}
return this.mTextures[0][(aColorIndex + 1)];
}