mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 12:23:51 -07:00
@@ -591,8 +591,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -983,6 +1235,7 @@
|
||||
boolean flag = this.Y();
|
||||
@@ -980,9 +1232,10 @@
|
||||
}
|
||||
|
||||
protected void t() {
|
||||
- boolean flag = this.Y();
|
||||
+ boolean flag = this.Y(); // PAIL: rename
|
||||
|
||||
super.t();
|
||||
+ /* CraftBukkit start
|
||||
@@ -604,7 +608,7 @@
|
||||
this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.q));
|
||||
}
|
||||
+ // */
|
||||
+ if (flag != this.X()) {
|
||||
+ if (flag != this.Y()) {
|
||||
+ // Only send weather packets to those affected
|
||||
+ for (int i = 0; i < this.players.size(); ++i) {
|
||||
+ if (((EntityPlayer) this.players.get(i)).world == this) {
|
||||
|
Reference in New Issue
Block a user