diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-10-11 02:12:22 +0100 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-10-11 02:12:22 +0100 |
commit | ac0641887b05cc65fb92fbca22ed1c49f33295ea (patch) | |
tree | fb9d39a50055109bc9b52202941c2f70b1d545f5 | |
parent | a49a35834968612e3c2cc30495459a0d1f04b6cf (diff) | |
download | craftbukkit-ac0641887b05cc65fb92fbca22ed1c49f33295ea.tar craftbukkit-ac0641887b05cc65fb92fbca22ed1c49f33295ea.tar.gz craftbukkit-ac0641887b05cc65fb92fbca22ed1c49f33295ea.tar.lz craftbukkit-ac0641887b05cc65fb92fbca22ed1c49f33295ea.tar.xz craftbukkit-ac0641887b05cc65fb92fbca22ed1c49f33295ea.zip |
Fixed Explosion cast error
-rw-r--r-- | src/main/java/net/minecraft/server/Explosion.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java index 67fdefdd..8ebb573d 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); } |