aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/covers
diff options
context:
space:
mode:
authorBlood-Asp <bloodasphendrik@gmail.com>2017-05-31 18:55:35 +0200
committerGitHub <noreply@github.com>2017-05-31 18:55:35 +0200
commitb170cd5a5ca6a27c85bc0dd3a91ca83eb1d6546e (patch)
treed6c80c0a368e833804137ef409bd9a984c54c15e /src/main/java/gregtech/common/covers
parent1af33411d201a2170a845e8f10d78260f5cad139 (diff)
parentc42c2facb1379c30e5642738bf1dd42cd9f16282 (diff)
downloadGT5-Unofficial-b170cd5a5ca6a27c85bc0dd3a91ca83eb1d6546e.tar.gz
GT5-Unofficial-b170cd5a5ca6a27c85bc0dd3a91ca83eb1d6546e.tar.bz2
GT5-Unofficial-b170cd5a5ca6a27c85bc0dd3a91ca83eb1d6546e.zip
Merge pull request #1067 from antifluxfield/unstable
Wrong behavior of Player Detector
Diffstat (limited to 'src/main/java/gregtech/common/covers')
-rw-r--r--src/main/java/gregtech/common/covers/GT_Cover_PlayerDetector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_PlayerDetector.java b/src/main/java/gregtech/common/covers/GT_Cover_PlayerDetector.java
index 9c61f4feee..d76a05117b 100644
--- a/src/main/java/gregtech/common/covers/GT_Cover_PlayerDetector.java
+++ b/src/main/java/gregtech/common/covers/GT_Cover_PlayerDetector.java
@@ -57,8 +57,8 @@ public class GT_Cover_PlayerDetector extends GT_CoverBehavior {
if(aCoverVariable <0){aCoverVariable = 2;}
switch(aCoverVariable) {
case 0: GT_Utility.sendChatToPlayer(aPlayer, "Emit if any Player is close"); break;
- case 1: GT_Utility.sendChatToPlayer(aPlayer, "Emit if you are close"); break;
- case 2: GT_Utility.sendChatToPlayer(aPlayer, "Emit if other player is close"); break;
+ case 1: GT_Utility.sendChatToPlayer(aPlayer, "Emit if other player is close"); break;
+ case 2: GT_Utility.sendChatToPlayer(aPlayer, "Emit if you are close"); break;
}
return aCoverVariable;
}