diff options
author | TomyLobo <tomylobo@nurfuerspam.de> | 2012-02-21 13:51:56 +0100 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-29 00:12:26 -0500 |
commit | 92dfb2500b68de14bc9b873f7d5821090af9bac0 (patch) | |
tree | 299f241b2365cc9cdc954461323a233f98551321 /src/main/java/net/minecraft/server/EntityEnderDragon.java | |
parent | dcf016822dc84146ee62cc2646d51673b0466706 (diff) | |
download | craftbukkit-92dfb2500b68de14bc9b873f7d5821090af9bac0.tar craftbukkit-92dfb2500b68de14bc9b873f7d5821090af9bac0.tar.gz craftbukkit-92dfb2500b68de14bc9b873f7d5821090af9bac0.tar.lz craftbukkit-92dfb2500b68de14bc9b873f7d5821090af9bac0.tar.xz craftbukkit-92dfb2500b68de14bc9b873f7d5821090af9bac0.zip |
Adjusted CraftBukkit to work with the entity event convenience patch in Bukkit. Addresses BUKKIT-809
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityEnderDragon.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityEnderDragon.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEnderDragon.java b/src/main/java/net/minecraft/server/EntityEnderDragon.java index 36e73f30..37c70d9d 100644 --- a/src/main/java/net/minecraft/server/EntityEnderDragon.java +++ b/src/main/java/net/minecraft/server/EntityEnderDragon.java @@ -598,7 +598,7 @@ public class EntityEnderDragon extends EntityComplex { byte b0 = 4; // CraftBukkit start - Replace any "this.world" in the following with just "world"! - EntityCreatePortalEvent event = new EntityCreatePortalEvent(this.getBukkitEntity(), new ArrayList<BlockState>(), PortalType.ENDER); + EntityCreatePortalEvent event = new EntityCreatePortalEvent((org.bukkit.entity.LivingEntity) this.getBukkitEntity(), new ArrayList<BlockState>(), PortalType.ENDER); BlockStateListPopulator world = new BlockStateListPopulator(this.world.getWorld(), event.getBlocks()); for (int l = k - 1; l <= k + 32; ++l) { |