mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Fix issues with leashes and weather due to missed diff
This commit is contained in:
parent
4992df25ec
commit
acc9f20b00
2 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ public abstract class EntityInsentient extends EntityLiving {
|
|||
public void h() {
|
||||
super.h();
|
||||
if (!this.world.isStatic) {
|
||||
this.bJ();
|
||||
this.bL();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue