1
0
Fork 0
mirror of https://github.com/Sollace/Unicopia.git synced 2025-03-04 17:21:28 +01:00

Fixed water being misplaced

This commit is contained in:
Sollace 2022-10-08 14:45:06 +02:00
parent 743ecd9cc2
commit 06db6e6247

View file

@ -63,6 +63,7 @@ public class HydrophobicSpell extends AbstractSpell {
});
area.getBlockPositions().forEach(pos -> {
pos = new BlockPos(pos);
BlockState state = world.getBlockState(pos);
if (state.getFluidState().isIn(affectedFluid)) {