Updated Upstream (Bukkit/CraftBukkit) (#7022)
This commit is contained in:
@@ -2004,7 +2004,7 @@ diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java b/src/mai
|
||||
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 @@ import org.bukkit.craftbukkit.util.CraftChatMessage;
|
||||
@@ -0,0 +0,0 @@ import org.bukkit.entity.Player;
|
||||
public class CraftSign extends CraftBlockEntityState<SignBlockEntity> implements Sign {
|
||||
|
||||
// Lazily initialized only if requested:
|
||||
@@ -2099,6 +2099,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +0,0 @@ public class CraftSign extends CraftBlockEntityState<SignBlockEntity> implements
|
||||
((CraftPlayer) player).getHandle().openTextEdit(handle);
|
||||
}
|
||||
|
||||
+ // Paper start
|
||||
+ public static Component[] sanitizeLines(java.util.List<net.kyori.adventure.text.Component> lines) {
|
||||
+ Component[] components = new Component[4];
|
||||
@@ -2112,6 +2116,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ return components;
|
||||
+ }
|
||||
+ // Paper end
|
||||
+
|
||||
public static Component[] sanitizeLines(String[] lines) {
|
||||
Component[] components = new Component[4];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user