Remove debug code

This commit is contained in:
Sollace 2022-10-11 17:18:00 +02:00
parent 7311d39607
commit db8181c45e

View file

@ -157,11 +157,6 @@ public class HydrophobicSpell extends AbstractSpell {
}
public static boolean blocksFluidFlow(CasterView world, BlockPos pos, FluidState state) {
String caller = new Exception().getStackTrace()[1].getClassName();
if (!"net.minecraft.fluid.FlowableFluid".contentEquals(caller)) {
System.out.println(caller);
}
return world.findAllSpellsInRange(pos, 500, SpellType.HYDROPHOBIC).anyMatch(pair -> {
return pair.getValue().blocksFlow(pair.getKey(), pos, state);
});