]> git.lizzy.rs Git - LightOverlay.git/blobdiff - src/main/java/me/shedaniel/lightoverlay/LightOverlay.java
3.2
[LightOverlay.git] / src / main / java / me / shedaniel / lightoverlay / LightOverlay.java
index 50685f2e4d52a3f9bb0d8052cf18a908672eabb0..c984b96e364384df85a1fe06f8b27bb3cbbc96f4 100644 (file)
@@ -81,6 +81,8 @@ public class LightOverlay {
         BlockState blockBelowState = world.getBlockState(pos.down());
         BlockState blockUpperState = world.getBlockState(pos);
         VoxelShape upperCollisionShape = blockUpperState.getCollisionShape(world, pos, ISelectionContext.forEntity(playerEntity));
+        if (!blockUpperState.getFluidState().isEmpty())
+            return CrossType.NONE;
         /* WorldEntitySpawner.func_222266_a */
         // Check if the outline is full
         if (Block.doesSideFillSquare(upperCollisionShape, Direction.UP))