geforkt von Mirrors/Paper
Properly apply Sign#isEditable to TEs when calling BlockState#update
Dieser Commit ist enthalten in:
Ursprung
098fb6ec40
Commit
68f0738631
18
Spigot-Server-Patches/copy-TESign-isEditable-from-snapshots.patch
Normale Datei
18
Spigot-Server-Patches/copy-TESign-isEditable-from-snapshots.patch
Normale Datei
@ -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
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren