From c8058f65fcacedcfd4ca7db9a0956daec1fc1eb5 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 1 May 2011 15:07:18 -0700 Subject: [PATCH] Fixed EntityType. --- src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index b0df094f5..8527bb7bf 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -45,6 +45,7 @@ import com.sk89q.worldedit.LocalWorld; import com.sk89q.worldedit.Vector; import com.sk89q.worldedit.Vector2D; import com.sk89q.worldedit.blocks.*; +import com.sk89q.worldedit.EntityType; import com.sk89q.worldedit.regions.Region; public class BukkitWorld extends LocalWorld { @@ -421,7 +422,7 @@ public class BukkitWorld extends LocalWorld { * @return */ @Override - public int removeEntities(LocalWorld.EntityType type, Vector origin, int radius) { + public int removeEntities(EntityType type, Vector origin, int radius) { int num = 0; double radiusSq = Math.pow(radius, 2);