mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Remove debug code
This commit is contained in:
parent
7311d39607
commit
db8181c45e
1 changed files with 0 additions and 5 deletions
|
@ -157,11 +157,6 @@ public class HydrophobicSpell extends AbstractSpell {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean blocksFluidFlow(CasterView world, BlockPos pos, FluidState state) {
|
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 world.findAllSpellsInRange(pos, 500, SpellType.HYDROPHOBIC).anyMatch(pair -> {
|
||||||
return pair.getValue().blocksFlow(pair.getKey(), pos, state);
|
return pair.getValue().blocksFlow(pair.getKey(), pos, state);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue