Block range fixes (#1571)

* Veil of Evil class creation

Signed-off-by: tobias <angryaeon@icloud.com>

* Some getBlockRange() oversights.

* Delete RitualVeilOfEvil.java

should not be in this branch.

* Removed TODO.
This commit is contained in:
Tobias Gremeyer 2019-03-31 21:53:35 +00:00 committed by Nick Ignoffo
parent dea733a76e
commit 6b176bebf3
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ public class RitualGrounding extends Ritual {
double vengefulDrained = 0;
/* Actual ritual stuff begins here */
AreaDescriptor groundingRange = getBlockRange(GROUNDING_RANGE);
AreaDescriptor groundingRange = masterRitualStone.getBlockRange(GROUNDING_RANGE);
List<EntityLivingBase> entities = world.getEntitiesWithinAABB(EntityLivingBase.class, groundingRange.getAABB(pos));
for (EntityLivingBase entity : entities) {
if (totalEffects >= maxEffects) {

View file

@ -71,7 +71,7 @@ public class RitualWellOfSuffering extends Ritual {
if (tile instanceof TileAltar) {
TileAltar tileAltar = (TileAltar) tile;
AreaDescriptor damageRange = getBlockRange(DAMAGE_RANGE);
AreaDescriptor damageRange = masterRitualStone.getBlockRange(DAMAGE_RANGE);
AxisAlignedBB range = damageRange.getAABB(pos);
List<EntityLivingBase> entities = world.getEntitiesWithinAABB(EntityLivingBase.class, range);