diff --git a/CraftBukkit-Patches/0066-Client-Crash-Cannot-Send-Message.patch b/CraftBukkit-Patches/0066-Client-Crash-Cannot-Send-Message.patch new file mode 100644 index 0000000000..062882fc31 --- /dev/null +++ b/CraftBukkit-Patches/0066-Client-Crash-Cannot-Send-Message.patch @@ -0,0 +1,22 @@ +From 7bc3292ff08b6d1630dfeb08ef83ce115a427bb9 Mon Sep 17 00:00:00 2001 +From: md_5 +Date: Wed, 10 Jul 2013 23:46:09 +1000 +Subject: [PATCH] Client Crash Cannot Send Message + + +diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java +index 98b2622..18cee5b 100644 +--- a/src/main/java/net/minecraft/server/PlayerConnection.java ++++ b/src/main/java/net/minecraft/server/PlayerConnection.java +@@ -832,7 +832,7 @@ public class PlayerConnection extends Connection { + + // CraftBukkit start + if (this.player.getChatFlags() == 1 && !s.startsWith("/")) { +- this.sendPacket(new Packet3Chat("Cannot send chat message.")); ++ this.player.sendMessage(ChatMessage.d("Cannot send chat message.")); // Spigot - fix client crash + return; + } + +-- +1.8.1.2 +