From 0a95fbaaad374665964bf50b1e10103216b17a8f Mon Sep 17 00:00:00 2001 From: Sen Date: Thu, 7 Aug 2025 18:13:03 +0200 Subject: [PATCH] fix chest materials --- common/src/main/java/common/block/tech/BlockChest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/common/block/tech/BlockChest.java b/common/src/main/java/common/block/tech/BlockChest.java index 152d0fea..af072fd5 100755 --- a/common/src/main/java/common/block/tech/BlockChest.java +++ b/common/src/main/java/common/block/tech/BlockChest.java @@ -52,14 +52,14 @@ public class BlockChest extends Block implements ITileEntityProvider, Rotatable public BlockChest(int width, int height) { - super(Material.WOOD); + super(width == 9 && height == 3 ? Material.WOOD : Material.SOLID); this.setDefaultState(this.getBaseState().withProperty(FACING, Facing.NORTH).withProperty(OPEN, false)); this.width = width; this.height = height; this.setTab(CheatTab.TECHNOLOGY); this.setBlockBounds(0.0625F, 0.0F, 0.0625F, 0.9375F, 0.875F, 0.9375F); this.setHardness(2.5F); - this.setSound(SoundType.WOOD); + this.setSound(width == 9 && height == 3 ? SoundType.WOOD : SoundType.STONE); CHESTS.put(this.width * this.height, this); }