From 382b02488892ee8c9659502f6988ef5571ee9a54 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 21 Jun 2013 17:53:18 +1000 Subject: [PATCH] Add our enable foreign language in signs patch --- .../0049-Enable-Foreign-Language-Signs.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CraftBukkit-Patches/0049-Enable-Foreign-Language-Signs.patch diff --git a/CraftBukkit-Patches/0049-Enable-Foreign-Language-Signs.patch b/CraftBukkit-Patches/0049-Enable-Foreign-Language-Signs.patch new file mode 100644 index 0000000000..2711c15ca4 --- /dev/null +++ b/CraftBukkit-Patches/0049-Enable-Foreign-Language-Signs.patch @@ -0,0 +1,22 @@ +From ba0018601961308c4c4213daaeef9c23e62ef37f Mon Sep 17 00:00:00 2001 +From: md_5 +Date: Fri, 21 Jun 2013 17:53:03 +1000 +Subject: [PATCH] Enable Foreign Language Signs + + +diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java +index 8deba1b..998ac8d 100644 +--- a/src/main/java/net/minecraft/server/PlayerConnection.java ++++ b/src/main/java/net/minecraft/server/PlayerConnection.java +@@ -1559,7 +1559,7 @@ public class PlayerConnection extends Connection { + flag = false; + } else { + for (i = 0; i < packet130updatesign.lines[j].length(); ++i) { +- if (SharedConstants.allowedCharacters.indexOf(packet130updatesign.lines[j].charAt(i)) < 0) { ++ if (!SharedConstants.isAllowedChatCharacter(packet130updatesign.lines[j].charAt(i))) { // Spigot + flag = false; + } + } +-- +1.8.1.2 +