From f000b645ede9b59c91e54a7b4d5ae8d701c500b1 Mon Sep 17 00:00:00 2001 From: itsmeow Date: Sat, 14 Nov 2020 23:25:50 -0500 Subject: [PATCH] Allow placing under ghost lights --- .../java/dev/itsmeow/whisperwoods/block/BlockHandOfFate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/itsmeow/whisperwoods/block/BlockHandOfFate.java b/src/main/java/dev/itsmeow/whisperwoods/block/BlockHandOfFate.java index cb49142..ec5f275 100644 --- a/src/main/java/dev/itsmeow/whisperwoods/block/BlockHandOfFate.java +++ b/src/main/java/dev/itsmeow/whisperwoods/block/BlockHandOfFate.java @@ -93,7 +93,7 @@ public FluidState getFluidState(BlockState state) { @Override public boolean isValidPosition(BlockState state, IWorldReader worldIn, BlockPos pos) { - return Block.hasEnoughSolidSide(worldIn, pos.down(), Direction.UP) && !worldIn.getBlockState(pos.up()).isSolid(); + return Block.hasEnoughSolidSide(worldIn, pos.down(), Direction.UP) && (!worldIn.getBlockState(pos.up()).isSolid() || worldIn.getBlockState(pos.up()).getBlock() instanceof BlockGhostLight); } @Override