mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-22 00:04:59 +01:00
Fixed CraftBukkit comments in World.java.
This commit is contained in:
parent
57bc71df0e
commit
fe75ab2500
1 changed files with 4 additions and 0 deletions
|
@ -1493,6 +1493,7 @@ public class World implements IBlockAccess {
|
||||||
--i;
|
--i;
|
||||||
this.worldData.b(i);
|
this.worldData.b(i);
|
||||||
if (i <= 0) {
|
if (i <= 0) {
|
||||||
|
// CraftBukkit start
|
||||||
CraftServer server = ((WorldServer) this).getServer();
|
CraftServer server = ((WorldServer) this).getServer();
|
||||||
|
|
||||||
ThunderChangeEvent thunder = new ThunderChangeEvent(((WorldServer) this).getWorld(), !this.worldData.j());
|
ThunderChangeEvent thunder = new ThunderChangeEvent(((WorldServer) this).getWorld(), !this.worldData.j());
|
||||||
|
@ -1500,6 +1501,7 @@ public class World implements IBlockAccess {
|
||||||
if (!thunder.isCancelled()) {
|
if (!thunder.isCancelled()) {
|
||||||
this.worldData.a(!this.worldData.j());
|
this.worldData.a(!this.worldData.j());
|
||||||
}
|
}
|
||||||
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1515,6 +1517,7 @@ public class World implements IBlockAccess {
|
||||||
--j;
|
--j;
|
||||||
this.worldData.c(j);
|
this.worldData.c(j);
|
||||||
if (j <= 0) {
|
if (j <= 0) {
|
||||||
|
// CraftBukkit start
|
||||||
CraftServer server = ((WorldServer) this).getServer();
|
CraftServer server = ((WorldServer) this).getServer();
|
||||||
|
|
||||||
|
|
||||||
|
@ -1523,6 +1526,7 @@ public class World implements IBlockAccess {
|
||||||
if (!weather.isCancelled()) {
|
if (!weather.isCancelled()) {
|
||||||
this.worldData.b(!this.worldData.l());
|
this.worldData.b(!this.worldData.l());
|
||||||
}
|
}
|
||||||
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue