From fd98aa1b69e23421430d703a8650771cb46c466d Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 8 Dec 2022 20:50:08 +0100 Subject: [PATCH] Hotfix StairsAttribute Signed-off-by: yoyosource --- .../features/attributescopy/impl/type/StairsAttribute.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/attributescopy/impl/type/StairsAttribute.java b/BauSystem_Main/src/de/steamwar/bausystem/features/attributescopy/impl/type/StairsAttribute.java index 186369b1..3686b506 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/attributescopy/impl/type/StairsAttribute.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/attributescopy/impl/type/StairsAttribute.java @@ -38,13 +38,13 @@ public class StairsAttribute implements BlockAttribute { @Override public void copy(List attributes, Stairs blockData) { - attributes.add(attribute + blockData.getShape().name()); + attributes.add(attribute + blockData.getShape().name().toLowerCase()); } @Override public void paste(Set attributes, Stairs blockData) { for (Stairs.Shape shape : Stairs.Shape.values()) { - if (attributes.contains(attribute + shape.name())) { + if (attributes.contains(attribute + shape.name().toLowerCase())) { blockData.setShape(shape); return; }