Removed overseen debug print statements from Rituals veil of evel & ward of sacrosanctity (#1639)

This commit is contained in:
Tobias 2019-08-11 20:49:30 +02:00 committed by Nick Ignoffo
parent f34a89efa7
commit a6a5704a42

View file

@ -517,12 +517,9 @@ public class GenericHandler {
for (Map.Entry<IMasterRitualStone, AreaDescriptor> entry : fMap.entrySet()) { for (Map.Entry<IMasterRitualStone, AreaDescriptor> entry : fMap.entrySet()) {
IMasterRitualStone masterRitualStone = entry.getKey(); IMasterRitualStone masterRitualStone = entry.getKey();
AreaDescriptor blockRange = entry.getValue(); AreaDescriptor blockRange = entry.getValue();
System.out.println("found a map");
if (masterRitualStone != null && masterRitualStone.isActive() && masterRitualStone.getCurrentRitual() instanceof RitualVeilOfEvil) { if (masterRitualStone != null && masterRitualStone.isActive() && masterRitualStone.getCurrentRitual() instanceof RitualVeilOfEvil) {
System.out.println("is active");
if (blockRange.offset(masterRitualStone.getBlockPos()).isWithinArea(new BlockPos(event.getX(), event.getY(), event.getZ()))) { if (blockRange.offset(masterRitualStone.getBlockPos()).isWithinArea(new BlockPos(event.getX(), event.getY(), event.getZ()))) {
System.out.println("is in");
switch (event.getResult()) { switch (event.getResult()) {
case DEFAULT: case DEFAULT:
event.setResult(Result.ALLOW); event.setResult(Result.ALLOW);