From 240f6619137c42848538108c9841129981f38a81 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:08:18 +0200 Subject: [PATCH] Bringing the Cheat, part II - Fixed signs retaining itemstack data in schematics when the mod "Amendments" is installed #6961 --- .../com/simibubi/create/foundation/utility/NBTProcessors.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/simibubi/create/foundation/utility/NBTProcessors.java b/src/main/java/com/simibubi/create/foundation/utility/NBTProcessors.java index 4496e5a27..e85f830f3 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/NBTProcessors.java +++ b/src/main/java/com/simibubi/create/foundation/utility/NBTProcessors.java @@ -72,6 +72,8 @@ public final class NBTProcessors { if (textComponentHasClickEvent(stringTag.getAsString())) return null; } + if (data.contains("front_item") || data.contains("back_item")) + return null; // "Amendments" compat: sign data contains itemstacks return data; };