diff options
| author | Techlone <techlone.mc@gmail.com> | 2017-06-07 18:13:47 +0500 |
|---|---|---|
| committer | Techlone <techlone.mc@gmail.com> | 2017-06-07 18:13:47 +0500 |
| commit | 38e12d554c23daee29fd2a9ee4e2d3989096c9a9 (patch) | |
| tree | b182895cb9a495a41b7ff2019d8b81de6e1c3c7c /src/main/java/gregtech/common/covers/GT_Cover_Arm.java | |
| parent | dbd2f5800886a36dbe4528aabfb2b30f1e7b0908 (diff) | |
| parent | 9032c2e15b7b9d7624e60bf4ead9f16ae680abe8 (diff) | |
| download | GT5-Unofficial-38e12d554c23daee29fd2a9ee4e2d3989096c9a9.tar.gz GT5-Unofficial-38e12d554c23daee29fd2a9ee4e2d3989096c9a9.tar.bz2 GT5-Unofficial-38e12d554c23daee29fd2a9ee4e2d3989096c9a9.zip | |
Merge branch 'unstable' of https://github.com/Blood-Asp/GT5-Unofficial into unstable
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 | 5 |
1 files changed, 3 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 d0c2ae3cc0..64cd25117f 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Arm.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Arm.java @@ -3,6 +3,7 @@ package gregtech.common.covers; import gregtech.api.interfaces.tileentity.ICoverable;
import gregtech.api.interfaces.tileentity.IMachineProgress;
import gregtech.api.util.GT_CoverBehavior;
+import gregtech.api.util.GT_LanguageManager;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
@@ -38,7 +39,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") : trans("002")) + (Math.abs(aCoverVariable) - 1));
return aCoverVariable;
}
@@ -48,7 +49,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") : trans("002")) + (Math.abs(aCoverVariable) - 1));
aTileEntity.setCoverDataAtSide(aSide, aCoverVariable);
return true;
}
|
