From 675cea57b8135a6c6efd87e5a1477975968f0768 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 10 Feb 2019 14:37:46 +0200 Subject: [PATCH] Fixed torches being placed on top of banisters --- .../unicopia/block/BlockCloudBanister.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/com/minelittlepony/unicopia/block/BlockCloudBanister.java b/src/main/java/com/minelittlepony/unicopia/block/BlockCloudBanister.java index 0dfc7228..e512bee9 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/BlockCloudBanister.java +++ b/src/main/java/com/minelittlepony/unicopia/block/BlockCloudBanister.java @@ -96,6 +96,17 @@ public class BlockCloudBanister extends BlockCloudFence { } } + @Override + public boolean isTopSolid(IBlockState state) { + return false; + } + + @Override + public boolean canPlaceTorchOnTop(IBlockState state, IBlockAccess world, BlockPos pos) { + return false; + } + + @Override public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) { state = getActualState(state, source, pos); return BOUNDING_BOXES[getBoundingBoxIdx(state)];