diff options
author | sk89q <the.sk89q@gmail.com> | 2011-05-06 19:24:57 -0700 |
---|---|---|
committer | sk89q <the.sk89q@gmail.com> | 2011-05-06 19:24:57 -0700 |
commit | c05cc33f7a70080429ac7c34614c47420d46e86f (patch) | |
tree | 9dcd63e00648f8564afa46a94421f39b400eb89f /src/main | |
parent | 99a7b91ef125227322d80bb3a42dcfa8b7664f75 (diff) | |
download | craftbukkit-c05cc33f7a70080429ac7c34614c47420d46e86f.tar craftbukkit-c05cc33f7a70080429ac7c34614c47420d46e86f.tar.gz craftbukkit-c05cc33f7a70080429ac7c34614c47420d46e86f.tar.lz craftbukkit-c05cc33f7a70080429ac7c34614c47420d46e86f.tar.xz craftbukkit-c05cc33f7a70080429ac7c34614c47420d46e86f.zip |
Changed LightningStrikeEvent to return a LightningStrike and not an Entity.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java index 852c89d7..34ee124a 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -109,7 +109,7 @@ public class WorldServer extends World implements BlockChangeDelegate { if (super.a(entity)) { CraftServer server = cserver; - LightningStrikeEvent lightning = new LightningStrikeEvent((org.bukkit.World) world, entity.getBukkitEntity()); + LightningStrikeEvent lightning = new LightningStrikeEvent((org.bukkit.World) world, (org.bukkit.entity.LightningStrike) entity.getBukkitEntity()); server.getPluginManager().callEvent(lightning); if (!lightning.isCancelled()) { this.server.serverConfigurationManager.a(entity.locX, entity.locY, entity.locZ, 512.0D, new Packet71Weather(entity)); |