diff options
author | Daniel <daniel112092@gmail.com> | 2017-06-18 11:30:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-18 11:30:32 +0200 |
commit | 80a56026b16d49a18fd3d42a2d3dfa06de167c82 (patch) | |
tree | 8112db284de8e9240865e05577bd19c14ecc71f1 /src/main/java/gregtech/common/covers/GT_Cover_Arm.java | |
parent | d7f24f3e68826adb1a15369628ded0744c123fca (diff) | |
parent | 6f7e5063c0552c01dcc412ca01f0a243776dd9a1 (diff) | |
download | GT5-Unofficial-80a56026b16d49a18fd3d42a2d3dfa06de167c82.tar.gz GT5-Unofficial-80a56026b16d49a18fd3d42a2d3dfa06de167c82.tar.bz2 GT5-Unofficial-80a56026b16d49a18fd3d42a2d3dfa06de167c82.zip |
Merge pull request #26 from GTNewHorizons/reMerge
Re merge
Diffstat (limited to 'src/main/java/gregtech/common/covers/GT_Cover_Arm.java')
-rw-r--r-- | src/main/java/gregtech/common/covers/GT_Cover_Arm.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Arm.java b/src/main/java/gregtech/common/covers/GT_Cover_Arm.java index 7206bedccc..f359d1f358 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Arm.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Arm.java @@ -38,7 +38,7 @@ public class GT_Cover_Arm } else { aCoverVariable -= 16; } - GT_Utility.sendChatToPlayer(aPlayer, (aCoverVariable > 0 ? "Puts out into adjacent Slot #" : "Grabs in for own Slot #") + (Math.abs(aCoverVariable) - 1)); + GT_Utility.sendChatToPlayer(aPlayer, (aCoverVariable > 0 ? trans("001","Puts out into adjacent Slot #") : trans("002","Grabs in for own Slot #")) + (Math.abs(aCoverVariable) - 1)); return aCoverVariable; } @@ -48,7 +48,7 @@ public class GT_Cover_Arm } else { aCoverVariable--; } - GT_Utility.sendChatToPlayer(aPlayer, (aCoverVariable > 0 ? "Puts out into adjacent Slot #" : "Grabs in for own Slot #") + (Math.abs(aCoverVariable) - 1)); + GT_Utility.sendChatToPlayer(aPlayer, (aCoverVariable > 0 ? trans("001","Puts out into adjacent Slot #") : trans("002","Grabs in for own Slot #")) + (Math.abs(aCoverVariable) - 1)); aTileEntity.setCoverDataAtSide(aSide, aCoverVariable); return true; } |