@@ -11,6 +11,11 @@ public class TileEntitySign extends TileEntity implements ICommandListener {
private EntityHuman g;
private final String[] h = new String[4];
+ // Paper start - Strip invalid unicode from signs on load
+ private static final boolean keepInvalidUnicode = Boolean.getBoolean("Paper.keepInvalidUnicode"); // Allow people to keep their bad unicode if they really want it
+ private boolean privateUnicodeRemoved = false;
+ // Paper end
+
public TileEntitySign() {
super(TileEntityTypes.SIGN);
}
@@ -30,6 +35,12 @@ public class TileEntitySign extends TileEntity implements ICommandListener {
}
// CraftBukkit end
+ // Paper start - Only remove private area unicode once