Rename to getLivingWithinRadius for clarity

This commit is contained in:
Electroblob77
2020-06-20 13:14:16 +01:00
parent dfe6ecadac
commit 39e33848aa
31 changed files with 38 additions and 39 deletions
@@ -77,7 +77,7 @@ public class Thunderstorm extends Spell {
// entityNBT.setInteger("summoningPlayer", entityplayer.entityId);
// Secondary chaining effect
List<EntityLivingBase> secondaryTargets = EntityUtils.getEntitiesWithinRadius(
List<EntityLivingBase> secondaryTargets = EntityUtils.getLivingWithinRadius(
getProperty(SECONDARY_RANGE).doubleValue(), x, y + 1, z, world);
for(int j = 0; j < Math.min(secondaryTargets.size(), getProperty(SECONDARY_MAX_TARGETS).intValue()); j++){
@@ -102,7 +102,7 @@ public class Thunderstorm extends Spell {
// Tertiary chaining effect
List<EntityLivingBase> tertiaryTargets = EntityUtils.getEntitiesWithinRadius(
List<EntityLivingBase> tertiaryTargets = EntityUtils.getLivingWithinRadius(
getProperty(TERTIARY_RANGE).doubleValue(), secondaryTarget.posX,
secondaryTarget.posY + secondaryTarget.height / 2, secondaryTarget.posZ, world);