From ac0641887b05cc65fb92fbca22ed1c49f33295ea Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Tue, 11 Oct 2011 02:12:22 +0100 Subject: [PATCH] Fixed Explosion cast error --- src/main/java/net/minecraft/server/Explosion.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java index 67fdefdd21..8ebb573d87 100644 --- a/src/main/java/net/minecraft/server/Explosion.java +++ b/src/main/java/net/minecraft/server/Explosion.java @@ -11,7 +11,6 @@ import org.bukkit.event.entity.EntityDamageByBlockEvent; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity.EntityDamageEvent; import org.bukkit.event.entity.EntityExplodeEvent; -import org.bukkit.event.entity.EntityDamageEvent.DamageCause; import org.bukkit.Location; // CraftBukkit end @@ -199,7 +198,7 @@ public class Explosion { blocks.clear(); for (org.bukkit.block.Block block : event.blockList()) { - ChunkCoordinates coords = new ChunkCoordinates(block.getX(), block.getY(), block.getZ()); + ChunkPosition coords = new ChunkPosition(block.getX(), block.getY(), block.getZ()); arraylist.add(coords); blocks.add(coords); }