From 7c3499702e168133167e095a23a7fe983ea21640 Mon Sep 17 00:00:00 2001 From: Riley Park Date: Mon, 22 Feb 2021 04:31:51 -0800 Subject: [PATCH] fix? #5218 --- Spigot-Server-Patches/0010-Adventure.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-Server-Patches/0010-Adventure.patch b/Spigot-Server-Patches/0010-Adventure.patch index 100c6e5867..8aae3bb5a4 100644 --- a/Spigot-Server-Patches/0010-Adventure.patch +++ b/Spigot-Server-Patches/0010-Adventure.patch @@ -1607,7 +1607,7 @@ index 3a782294c15e2c2592976858e28ec33f049cb65e..772c6b2fa50deac27e5ed112e6d9f9dd public String getCustomName() { TileEntityEnchantTable enchant = this.getSnapshot(); diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java b/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java -index 81f6bf5533288ed90e2f1f4d421d54195d9650c7..e781473268583289267b3c6dc2ee9a16f86575f8 100644 +index 81f6bf5533288ed90e2f1f4d421d54195d9650c7..352c8e58418db5e293b179ab801b513fc0ab9be2 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java @@ -13,8 +13,10 @@ import org.bukkit.craftbukkit.util.CraftChatMessage; @@ -1697,7 +1697,7 @@ index 81f6bf5533288ed90e2f1f4d421d54195d9650c7..e781473268583289267b3c6dc2ee9a16 + // Paper start + for (int i = 0; i < this.lines.size(); ++i) { + net.kyori.adventure.text.Component component = this.lines.get(i); -+ net.kyori.adventure.text.Component origComp = this.lines.get(i); ++ net.kyori.adventure.text.Component origComp = this.originalLines.get(i); + if (component.equals(origComp)) { continue; // The line contents are still the same, skip. }