From b90b4f8ad2ff954179818cfe14ef2c30e58fc035 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Tue, 23 Mar 2021 06:46:54 +0000 Subject: [PATCH] Properly apply Sign#isEditable to TEs when calling BlockState#update --- ...copy-TESign-isEditable-from-snapshots.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Spigot-Server-Patches/0696-copy-TESign-isEditable-from-snapshots.patch diff --git a/Spigot-Server-Patches/0696-copy-TESign-isEditable-from-snapshots.patch b/Spigot-Server-Patches/0696-copy-TESign-isEditable-from-snapshots.patch new file mode 100644 index 000000000..25bfef850 --- /dev/null +++ b/Spigot-Server-Patches/0696-copy-TESign-isEditable-from-snapshots.patch @@ -0,0 +1,18 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Shane Freeder +Date: Tue, 23 Mar 2021 06:43:30 +0000 +Subject: [PATCH] copy TESign#isEditable from snapshots + + +diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java b/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java +index f4b601277ef75e5bc39d541a0d13c6eed3b1ef2c..f7e2e23e7468928b6bd6961f223c50ca2826a813 100644 +--- a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java ++++ b/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java +@@ -110,6 +110,7 @@ public class CraftSign extends CraftBlockEntityState implements + } + // Paper end + } ++ sign.isEditable = getSnapshot().isEditable; // Paper - copy manually + } + + // Paper start