Merge pull request #1067 from antifluxfield/unstable
Wrong behavior of Player Detector
This commit is contained in:
commit
b170cd5a5c
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ public class GT_Cover_PlayerDetector extends GT_CoverBehavior {
|
||||||
if(aCoverVariable <0){aCoverVariable = 2;}
|
if(aCoverVariable <0){aCoverVariable = 2;}
|
||||||
switch(aCoverVariable) {
|
switch(aCoverVariable) {
|
||||||
case 0: GT_Utility.sendChatToPlayer(aPlayer, "Emit if any Player is close"); break;
|
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 1: GT_Utility.sendChatToPlayer(aPlayer, "Emit if other player is close"); break;
|
||||||
case 2: 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;
|
return aCoverVariable;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue