summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-01-10 23:21:38 -0500
committerEvilSeph <evilseph@gmail.com>2012-01-10 23:21:38 -0500
commit42e473783e1614f25475931f11abc46265aedd43 (patch)
tree59f377c951cc3ec282e76e228c6ced21b5f4df75 /src/main/java
parent194f54a90eabd2449370636bcbbb44f7906b8e02 (diff)
downloadcraftbukkit-42e473783e1614f25475931f11abc46265aedd43.tar
craftbukkit-42e473783e1614f25475931f11abc46265aedd43.tar.gz
craftbukkit-42e473783e1614f25475931f11abc46265aedd43.tar.lz
craftbukkit-42e473783e1614f25475931f11abc46265aedd43.tar.xz
craftbukkit-42e473783e1614f25475931f11abc46265aedd43.zip
Fixed our handling of network packets.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/NetworkManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetworkManager.java b/src/main/java/net/minecraft/server/NetworkManager.java
index 592d7c48..1e9effb2 100644
--- a/src/main/java/net/minecraft/server/NetworkManager.java
+++ b/src/main/java/net/minecraft/server/NetworkManager.java
@@ -223,7 +223,7 @@ public class NetworkManager {
while (!this.m.isEmpty() && i-- >= 0) {
Packet packet = (Packet) this.m.remove(0);
- packet.a(this.p);
+ if (!this.q) packet.a(this.p); // CraftBukkit
}
this.a();