summaryrefslogtreecommitdiffstats
path: root/nms-patches/PlayerList.patch
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2016-01-22 11:13:34 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2016-01-22 11:13:34 +0000
commit75593ab621f26c3954bff13057d2ed6720da7592 (patch)
tree2be51f062337d87853b3aac88f28d46fb6e1430c /nms-patches/PlayerList.patch
parent07c300164aa0318c0064d629ff71247c96731e7c (diff)
downloadcraftbukkit-75593ab621f26c3954bff13057d2ed6720da7592.tar
craftbukkit-75593ab621f26c3954bff13057d2ed6720da7592.tar.gz
craftbukkit-75593ab621f26c3954bff13057d2ed6720da7592.tar.lz
craftbukkit-75593ab621f26c3954bff13057d2ed6720da7592.tar.xz
craftbukkit-75593ab621f26c3954bff13057d2ed6720da7592.zip
SPIGOT-1308: Fix typo in PlayerList#sendAll
Diffstat (limited to 'nms-patches/PlayerList.patch')
-rw-r--r--nms-patches/PlayerList.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PlayerList.patch b/nms-patches/PlayerList.patch
index d0e447db..52d22e6f 100644
--- a/nms-patches/PlayerList.patch
+++ b/nms-patches/PlayerList.patch
@@ -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);
+ }
+
+ }