mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-18 22:24:35 +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) {
|
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())
|
if (entity.getEntityId() == player.getEntityId())
|
||||||
continue;
|
continue;
|
||||||
if (Methods.isRegionProtectedFromBuild(player, "OctopusForm", entity.getLocation()))
|
if (Methods.isRegionProtectedFromBuild(player, "OctopusForm", entity.getLocation()))
|
||||||
|
|
Loading…
Reference in a new issue