diff options
author | sk89q <the.sk89q@gmail.com> | 2011-04-22 03:13:47 -0700 |
---|---|---|
committer | sk89q <the.sk89q@gmail.com> | 2011-04-22 03:13:47 -0700 |
commit | 8681752ee23166a694eb06feabc710f4eba41530 (patch) | |
tree | 9d429ad0b744e26d2bbed10e8d0aaf5d1bf99a0f /src/main/java/net/minecraft/server/EntityWeatherStorm.java | |
parent | a042ee1e2629cad5ea32b5b56fe50ce44e4b94c6 (diff) | |
download | craftbukkit-8681752ee23166a694eb06feabc710f4eba41530.tar craftbukkit-8681752ee23166a694eb06feabc710f4eba41530.tar.gz craftbukkit-8681752ee23166a694eb06feabc710f4eba41530.tar.lz craftbukkit-8681752ee23166a694eb06feabc710f4eba41530.tar.xz craftbukkit-8681752ee23166a694eb06feabc710f4eba41530.zip |
Fixed NPE in lightning fire event.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityWeatherStorm.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityWeatherStorm.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityWeatherStorm.java b/src/main/java/net/minecraft/server/EntityWeatherStorm.java index 643e5489..1043074f 100644 --- a/src/main/java/net/minecraft/server/EntityWeatherStorm.java +++ b/src/main/java/net/minecraft/server/EntityWeatherStorm.java @@ -22,8 +22,8 @@ public class EntityWeatherStorm extends EntityWeather { super(world); // CraftBukkit start - CraftWorld cworld = ((WorldServer) world).getWorld(); - CraftServer server = ((WorldServer) world).getServer(); + cworld = ((WorldServer) world).getWorld(); + server = ((WorldServer) world).getServer(); // CraftBukkit end this.setPositionRotation(d0, d1, d2, 0.0F, 0.0F); |