diff --git a/src/main/java/com/simibubi/create/content/decoration/copycat/CopycatSpecialCases.java b/src/main/java/com/simibubi/create/content/decoration/copycat/CopycatSpecialCases.java index a7ba28e3d..9369e52d0 100644 --- a/src/main/java/com/simibubi/create/content/decoration/copycat/CopycatSpecialCases.java +++ b/src/main/java/com/simibubi/create/content/decoration/copycat/CopycatSpecialCases.java @@ -2,6 +2,7 @@ package com.simibubi.create.content.decoration.copycat; import com.simibubi.create.content.decoration.palettes.GlassPaneBlock; +import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.block.IronBarsBlock; import net.minecraft.world.level.block.StainedGlassPaneBlock; import net.minecraft.world.level.block.TrapDoorBlock; @@ -11,7 +12,7 @@ public class CopycatSpecialCases { public static boolean isBarsMaterial(BlockState material) { return material.getBlock() instanceof IronBarsBlock && !(material.getBlock() instanceof GlassPaneBlock) - && !(material.getBlock() instanceof StainedGlassPaneBlock); + && !(material.getBlock() instanceof StainedGlassPaneBlock) && material.getBlock() != Blocks.GLASS_PANE; } public static boolean isTrapdoorMaterial(BlockState material) {