diff options
Diffstat (limited to 'patches/server/0620-copy-TESign-isEditable-from-snapshots.patch')
-rw-r--r-- | patches/server/0620-copy-TESign-isEditable-from-snapshots.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0620-copy-TESign-isEditable-from-snapshots.patch b/patches/server/0620-copy-TESign-isEditable-from-snapshots.patch new file mode 100644 index 0000000000..c62a00d76e --- /dev/null +++ b/patches/server/0620-copy-TESign-isEditable-from-snapshots.patch @@ -0,0 +1,18 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Shane Freeder <[email protected]> +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 de3a0a272e9cb0182e08d5401e7e8a6be4434219..c0d205c279e2fb5c73af00fbde876c65b5131aae 100644 +--- a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java ++++ b/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java +@@ -116,6 +116,7 @@ public class CraftSign extends CraftBlockEntityState<SignBlockEntity> implements + } + // Paper end + } ++ sign.isEditable = getSnapshot().isEditable; // Paper - copy manually + } + + public static void openSign(Sign sign, org.bukkit.entity.HumanEntity player) { // Paper - change move open sign to HumanEntity |