From 68f073863134bc2a4493c21acb933364dd9c13cf Mon Sep 17 00:00:00 2001 From: Shane Freeder <theboyetronic@gmail.com> 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/copy-TESign-isEditable-from-snapshots.patch diff --git a/Spigot-Server-Patches/copy-TESign-isEditable-from-snapshots.patch b/Spigot-Server-Patches/copy-TESign-isEditable-from-snapshots.patch new file mode 100644 index 0000000000..9a05a49b11 --- /dev/null +++ b/Spigot-Server-Patches/copy-TESign-isEditable-from-snapshots.patch @@ -0,0 +1,18 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Shane Freeder <theboyetronic@gmail.com> +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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java ++++ b/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java +@@ -0,0 +0,0 @@ public class CraftSign extends CraftBlockEntityState<TileEntitySign> implements + } + // Paper end + } ++ sign.isEditable = getSnapshot().isEditable; // Paper - copy manually + } + + // Paper start