mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
May have fixed AS Blood Bending bug
This commit is contained in:
parent
bf59be3d78
commit
ee3a6fdf08
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue