mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-03-05 17:51:29 +01:00
Fixed water being misplaced
This commit is contained in:
parent
743ecd9cc2
commit
06db6e6247
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ public class HydrophobicSpell extends AbstractSpell {
|
||||||
});
|
});
|
||||||
|
|
||||||
area.getBlockPositions().forEach(pos -> {
|
area.getBlockPositions().forEach(pos -> {
|
||||||
|
pos = new BlockPos(pos);
|
||||||
BlockState state = world.getBlockState(pos);
|
BlockState state = world.getBlockState(pos);
|
||||||
|
|
||||||
if (state.getFluidState().isIn(affectedFluid)) {
|
if (state.getFluidState().isIn(affectedFluid)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue