1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/network/play/client/C01PacketChatMessage.java.patch

15 lines
445 B
Diff
Raw Normal View History

2015-03-22 17:38:04 +00:00
--- ../src-base/minecraft/net/minecraft/network/play/client/C01PacketChatMessage.java
+++ ../src-work/minecraft/net/minecraft/network/play/client/C01PacketChatMessage.java
@@ -52,4 +52,11 @@
{
this.processPacket((INetHandlerPlayServer)p_148833_1_);
}
+
+ // CraftBukkit start - make chat async
+ public boolean hasPriority()
+ {
+ return !this.field_149440_a.startsWith("/");
+ }
+ // CraftBukkit end
}