geforkt von Mirrors/Paper
cab333b217
Don't send requests of every player was found in the global api cache SpigotMC/Spigot@841270ff1e Correctly set the response code for the cached lookups and return the ... SpigotMC/Spigot@f170b7899c Don't try and re-set the global api cache on reload SpigotMC/Spigot@b410a00a66 Use a compile time sneaky throw hack. SpigotMC/Spigot@508462b96b Fix a missed rename in WorldGenGroundBush SpigotMC/Spigot@0614d8fae9
22 Zeilen
932 B
Diff
22 Zeilen
932 B
Diff
From 08607a925a2eace0f790defd40b31ef977efda43 Mon Sep 17 00:00:00 2001
|
|
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
|
|
index 234817a..c833842 100644
|
|
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
|
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
|
@@ -1584,6 +1584,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
|
|
|
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;
|
|
--
|
|
1.9.1
|
|
|