Houston, we got a patch (#2731)
* Houston, we got a patch * is this the end of the beginning or the beginning of the end
This commit is contained in:
@@ -20,11 +20,11 @@ think of no reason to use it.
|
||||
Fixes GH-1571
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/TileEntitySign.java b/src/main/java/net/minecraft/server/TileEntitySign.java
|
||||
index 74fede54e1..1b01792730 100644
|
||||
index 03f6ddf00..4c2273497 100644
|
||||
--- a/src/main/java/net/minecraft/server/TileEntitySign.java
|
||||
+++ b/src/main/java/net/minecraft/server/TileEntitySign.java
|
||||
@@ -0,0 +0,0 @@ public class TileEntitySign extends TileEntity implements ICommandListener { //
|
||||
private final String[] k = new String[4];
|
||||
private final String[] g = new String[4];
|
||||
private EnumColor color;
|
||||
|
||||
+ // Paper start - Strip invalid unicode from signs on load
|
||||
@@ -81,7 +81,7 @@ index 74fede54e1..1b01792730 100644
|
||||
//IChatBaseComponent ichatbasecomponent = IChatBaseComponent.ChatSerializer.a(s.isEmpty() ? "\"\"" : s); // Paper - move down - the old format might throw a json error
|
||||
|
||||
@@ -0,0 +0,0 @@ public class TileEntitySign extends TileEntity implements ICommandListener { //
|
||||
this.k[i] = null;
|
||||
this.g[i] = null;
|
||||
}
|
||||
|
||||
+ if (ranUnicodeRemoval) this.privateUnicodeRemoved = true; // Paper - Flag to write NBT
|
||||
|
||||
Reference in New Issue
Block a user