From 3751a5193583ed7369e27cdcbe8c398353a9f3e6 Mon Sep 17 00:00:00 2001 From: Tobias Gremeyer Date: Wed, 23 Jan 2019 19:04:25 +0100 Subject: [PATCH] Fixed Ritual area (#1532) --- .../java/WayofTime/bloodmagic/ritual/types/RitualCondor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/WayofTime/bloodmagic/ritual/types/RitualCondor.java b/src/main/java/WayofTime/bloodmagic/ritual/types/RitualCondor.java index a7f4b618..36d31b14 100644 --- a/src/main/java/WayofTime/bloodmagic/ritual/types/RitualCondor.java +++ b/src/main/java/WayofTime/bloodmagic/ritual/types/RitualCondor.java @@ -18,13 +18,13 @@ public class RitualCondor extends Ritual { public RitualCondor() { super("ritualCondor", 0, 1000000, "ritual." + BloodMagic.MODID + ".condorRitual"); - addBlockRange(FLIGHT_RANGE, new AreaDescriptor.Rectangle(new BlockPos(0, 0, 0), new BlockPos(10, 30, 10))); + addBlockRange(FLIGHT_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-10, 0, -10), new BlockPos(10, 30, 10))); setMaximumVolumeAndDistanceOfRange(FLIGHT_RANGE, 0, 100, 200); } @Override public void performRitual(IMasterRitualStone masterRitualStone) { - AxisAlignedBB aabb = masterRitualStone.getBlockRange(FLIGHT_RANGE).getAABB(masterRitualStone.getBlockPos()).expand(-10, 0, -10); + AxisAlignedBB aabb = masterRitualStone.getBlockRange(FLIGHT_RANGE).getAABB(masterRitualStone.getBlockPos()); World world = masterRitualStone.getWorldObj(); int currentEssence = masterRitualStone.getOwnerNetwork().getCurrentEssence();