Fix vanish integration in fly

This commit is contained in:
Driftay
2019-06-06 15:32:46 -04:00
parent 7dd071340f
commit 8b08c4f72a
4 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,6 @@ public class CmdClaim extends FCommand {
this.stop();
return false;
}
return true;
}
};

View File

@@ -1109,6 +1109,7 @@ public abstract class MemoryFPlayer implements FPlayer {
if (efplayer == null) {
continue;
}
if (efplayer.isVanished()) continue;
if (this.getRelationTo(efplayer).equals(Relation.ENEMY) && !efplayer.isStealthEnabled()) {
setFlying(false);
msg(TL.COMMAND_FLY_ENEMY_NEAR);