OctopusForm now obeys it's range

This commit is contained in:
Nathan Braun 2015-01-14 23:56:18 -08:00
parent 1271e46d45
commit c2188701ba

View file

@ -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()))