diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-24 22:03:31 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-24 22:05:22 +0100 |
commit | 0118a20d6a4d5637504b26998bfd96c7a65ddbe1 (patch) | |
tree | 3015971c8bd61d17e7da8f00d4b3b5db01f7e9b3 /src/main/java/net/minecraft/server/EntityWeatherStorm.java | |
parent | 75ac4e00b27d05627a3c4ffde7879a37dd612d02 (diff) | |
download | craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.gz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.lz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.xz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.zip |
Update to mcdev rename revision 01 for 1.8.1
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityWeatherStorm.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityWeatherStorm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityWeatherStorm.java b/src/main/java/net/minecraft/server/EntityWeatherStorm.java index b9adf026..6706e4f0 100644 --- a/src/main/java/net/minecraft/server/EntityWeatherStorm.java +++ b/src/main/java/net/minecraft/server/EntityWeatherStorm.java @@ -37,7 +37,7 @@ public class EntityWeatherStorm extends EntityWeather { this.a = this.random.nextLong(); this.c = this.random.nextInt(3) + 1; // CraftBukkit - if (!isEffect && world.spawnMonsters >= 2 && world.areChunksLoaded(MathHelper.floor(d0), MathHelper.floor(d1), MathHelper.floor(d2), 10)) { + if (!isEffect && world.difficulty >= 2 && world.areChunksLoaded(MathHelper.floor(d0), MathHelper.floor(d1), MathHelper.floor(d2), 10)) { int i = MathHelper.floor(d0); int j = MathHelper.floor(d1); int k = MathHelper.floor(d2); |