mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 12:36:07 +01:00
fix? #5218
This commit is contained in:
parent
c8eec830b5
commit
7c3499702e
@ -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.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user