Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-3242: Fix rain not showing client side
Dieser Commit ist enthalten in:
Ursprung
743252dbe5
Commit
913c5a61f7
@ -591,8 +591,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -983,6 +1235,7 @@
|
@@ -980,9 +1232,10 @@
|
||||||
boolean flag = this.Y();
|
}
|
||||||
|
|
||||||
|
protected void t() {
|
||||||
|
- boolean flag = this.Y();
|
||||||
|
+ boolean flag = this.Y(); // PAIL: rename
|
||||||
|
|
||||||
super.t();
|
super.t();
|
||||||
+ /* CraftBukkit start
|
+ /* CraftBukkit start
|
||||||
@ -604,7 +608,7 @@
|
|||||||
this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.q));
|
this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.q));
|
||||||
}
|
}
|
||||||
+ // */
|
+ // */
|
||||||
+ if (flag != this.X()) {
|
+ if (flag != this.Y()) {
|
||||||
+ // 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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren