2014-06-22 11:25:10 +02:00
|
|
|
From 5a3944c0a289434760d2e5448640423518e6810b Mon Sep 17 00:00:00 2001
|
2014-04-12 06:18:37 +02:00
|
|
|
From: md_5 <md_5@live.com.au>
|
|
|
|
Date: Sun, 8 Dec 2013 16:52:42 +1100
|
|
|
|
Subject: [PATCH] Remove OS X Special Chars from Signs
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
2014-06-22 11:25:10 +02:00
|
|
|
index 99ce73e..c7e40fe 100644
|
2014-04-12 06:18:37 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
2014-05-15 09:05:45 +02:00
|
|
|
@@ -1582,6 +1582,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
2014-04-12 06:18:37 +02:00
|
|
|
|
|
|
|
for (j = 0; j < 4; ++j) {
|
|
|
|
boolean flag = true;
|
|
|
|
+ packetplayinupdatesign.f()[j] = packetplayinupdatesign.f()[j].replaceAll( "\uF700", "" ).replaceAll( "\uF701", "" ); // Spigot - Mac OSX sends weird chars
|
|
|
|
|
|
|
|
if (packetplayinupdatesign.f()[j].length() > 15) {
|
|
|
|
flag = false;
|
|
|
|
--
|
2014-04-19 01:15:23 +02:00
|
|
|
1.9.1
|
2014-04-12 06:18:37 +02:00
|
|
|
|