Update with more Spigot binary patches

This commit is contained in:
Byteflux
2014-10-02 16:54:57 -05:00
parent e6bc90dccb
commit f9fa108a49
5 changed files with 289 additions and 93 deletions

View File

@@ -177,12 +177,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ @Override
+ public void sendMessage( BaseComponent... components )
+ {
+ if ( getHandle().playerConnection != null )
+ {
+ PacketPlayOutChat packet = new PacketPlayOutChat();
+ packet.components = components;
+ getHandle().playerConnection.sendPacket( packet );
+ }
+ if ( getHandle().playerConnection == null ) return;
+
+ PacketPlayOutChat packet = new PacketPlayOutChat();
+ packet.components = components;
+ getHandle().playerConnection.sendPacket( packet );
+ }
};