mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-14 04:47:51 +00:00
OctopusForm now obeys it's range
This commit is contained in:
parent
1271e46d45
commit
c2188701ba
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ public class OctopusForm {
|
|||
}
|
||||
|
||||
private void affect(Location location) {
|
||||
for (Entity entity : Methods.getEntitiesAroundPoint(location, 2.5)) {
|
||||
for (Entity entity : Methods.getEntitiesAroundPoint(location, range)) {
|
||||
if (entity.getEntityId() == player.getEntityId())
|
||||
continue;
|
||||
if (Methods.isRegionProtectedFromBuild(player, "OctopusForm", entity.getLocation()))
|
||||
|
|
Loading…
Reference in a new issue