Update GT_Cover_PlayerDetector.java

This commit is contained in:
antifluxfield 2017-05-27 14:46:03 +08:00 committed by GitHub
parent 6398c06506
commit aa4839ebf6

View file

@ -34,7 +34,7 @@ public class GT_Cover_PlayerDetector extends GT_CoverBehavior {
playerDetected = true;
break;
}
if (tEntity.getDisplayName().equalsIgnoreCase(placer)) {
if (!tEntity.getDisplayName().equalsIgnoreCase(placer)) {
if (aCoverVariable == 1) {
playerDetected = true;
break;