3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 13:00:06 +01:00

Fix issues with leashes and weather due to missed diff

Dieser Commit ist enthalten in:
Travis Watkins 2014-03-26 04:39:39 -05:00
Ursprung 4992df25ec
Commit acc9f20b00
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -149,7 +149,7 @@ public abstract class EntityInsentient extends EntityLiving {
public void h() { public void h() {
super.h(); super.h();
if (!this.world.isStatic) { if (!this.world.isStatic) {
this.bJ(); this.bL();
} }
} }

Datei anzeigen

@ -949,7 +949,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate
this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.p)); this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.p));
} }
// */ // */
if (flag != this.P()) { if (flag != this.Q()) {
// Only send weather packets to those affected // Only send weather packets to those affected
for (int i = 0; i < this.players.size(); ++i) { for (int i = 0; i < this.players.size(); ++i) {
if (((EntityPlayer) this.players.get(i)).world == this) { if (((EntityPlayer) this.players.get(i)).world == this) {