May have fixed AS Blood Bending bug

This commit is contained in:
OmniCypher 2015-06-28 15:22:16 -07:00
parent bf59be3d78
commit ee3a6fdf08

View file

@ -72,7 +72,7 @@ public class Bloodbending {
if (entity instanceof Player) { if (entity instanceof Player) {
if (GeneralMethods.isRegionProtectedFromBuild(player, "Bloodbending", entity.getLocation()) if (GeneralMethods.isRegionProtectedFromBuild(player, "Bloodbending", entity.getLocation())
|| (AvatarState.isAvatarState((Player) entity) || (AvatarState.isAvatarState((Player) entity)
|| entity.getEntityId() == player.getEntityId() || entity.getEntityId() != player.getEntityId()
|| GeneralMethods.canBend(((Player) entity).getName(), "Bloodbending"))) || GeneralMethods.canBend(((Player) entity).getName(), "Bloodbending")))
continue; continue;
} }