From acc9f20b00afe6f2fe53006be3e3e44a22519f63 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Wed, 26 Mar 2014 04:39:39 -0500 Subject: Fix issues with leashes and weather due to missed diff --- src/main/java/net/minecraft/server/EntityInsentient.java | 2 +- src/main/java/net/minecraft/server/WorldServer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') 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) { -- cgit v1.2.3