SPIGOT-1308: Fix typo in PlayerList#sendAll

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot 2016-01-22 11:13:34 +00:00
parent 94c5a50dc3
commit 99fbeecd40

View file

@ -734,7 +734,7 @@
+
+ public void sendAll(Packet packet, World world) {
+ for (int i = 0; i < world.players.size(); ++i) {
+ ((EntityPlayer) this.players.get(i)).playerConnection.sendPacket(packet);
+ ((EntityPlayer) world.players.get(i)).playerConnection.sendPacket(packet);
+ }
+
+ }