diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2014-03-26 04:39:39 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2014-03-26 04:39:39 -0500 |
commit | acc9f20b00afe6f2fe53006be3e3e44a22519f63 (patch) | |
tree | 58bfe3fdb4b8ef7625bb50f821ff6d9172d16460 /src/main | |
parent | 4992df25ec8c843c2b139526e43821cae84a555f (diff) | |
download | craftbukkit-acc9f20b00afe6f2fe53006be3e3e44a22519f63.tar craftbukkit-acc9f20b00afe6f2fe53006be3e3e44a22519f63.tar.gz craftbukkit-acc9f20b00afe6f2fe53006be3e3e44a22519f63.tar.lz craftbukkit-acc9f20b00afe6f2fe53006be3e3e44a22519f63.tar.xz craftbukkit-acc9f20b00afe6f2fe53006be3e3e44a22519f63.zip |
Fix issues with leashes and weather due to missed diff
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityInsentient.java | 2 | ||||
-rw-r--r-- | src/main/java/net/minecraft/server/WorldServer.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java index c8b62342..8c3c8f60 100644 --- a/src/main/java/net/minecraft/server/EntityInsentient.java +++ b/src/main/java/net/minecraft/server/EntityInsentient.java @@ -149,7 +149,7 @@ public abstract class EntityInsentient extends EntityLiving { public void h() { super.h(); if (!this.world.isStatic) { - this.bJ(); + this.bL(); } } diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java index 4e0861e4..29fb40d2 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -949,7 +949,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.p)); } // */ - if (flag != this.P()) { + if (flag != this.Q()) { // Only send weather packets to those affected for (int i = 0; i < this.players.size(); ++i) { if (((EntityPlayer) this.players.get(i)).world == this) { |