summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-04-25 22:00:18 -0400
committerEvilSeph <evilseph@unaligned.org>2011-04-25 22:00:18 -0400
commitfe75ab250050c8931ed8b4439bdb41f762485bc9 (patch)
tree6e2ff83aa6b9acf3b92fede9e77cf2168bb60846 /src/main
parent57bc71df0ebd02b460287aa5faa7b634c21d1669 (diff)
downloadcraftbukkit-fe75ab250050c8931ed8b4439bdb41f762485bc9.tar
craftbukkit-fe75ab250050c8931ed8b4439bdb41f762485bc9.tar.gz
craftbukkit-fe75ab250050c8931ed8b4439bdb41f762485bc9.tar.lz
craftbukkit-fe75ab250050c8931ed8b4439bdb41f762485bc9.tar.xz
craftbukkit-fe75ab250050c8931ed8b4439bdb41f762485bc9.zip
Fixed CraftBukkit comments in World.java.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/World.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index aa3842cb..ed7a5636 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -1493,6 +1493,7 @@ public class World implements IBlockAccess {
--i;
this.worldData.b(i);
if (i <= 0) {
+ // CraftBukkit start
CraftServer server = ((WorldServer) this).getServer();
ThunderChangeEvent thunder = new ThunderChangeEvent(((WorldServer) this).getWorld(), !this.worldData.j());
@@ -1500,6 +1501,7 @@ public class World implements IBlockAccess {
if (!thunder.isCancelled()) {
this.worldData.a(!this.worldData.j());
}
+ // CraftBukkit end
}
}
@@ -1515,6 +1517,7 @@ public class World implements IBlockAccess {
--j;
this.worldData.c(j);
if (j <= 0) {
+ // CraftBukkit start
CraftServer server = ((WorldServer) this).getServer();
@@ -1523,6 +1526,7 @@ public class World implements IBlockAccess {
if (!weather.isCancelled()) {
this.worldData.b(!this.worldData.l());
}
+ // CraftBukkit end
}
}