3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-13 22:50:06 +01:00

Fixed EntityType.

Dieser Commit ist enthalten in:
sk89q 2011-05-01 15:07:18 -07:00
Ursprung 7dcb4da83b
Commit c8058f65fc

Datei anzeigen

@ -45,6 +45,7 @@ import com.sk89q.worldedit.LocalWorld;
import com.sk89q.worldedit.Vector; import com.sk89q.worldedit.Vector;
import com.sk89q.worldedit.Vector2D; import com.sk89q.worldedit.Vector2D;
import com.sk89q.worldedit.blocks.*; import com.sk89q.worldedit.blocks.*;
import com.sk89q.worldedit.EntityType;
import com.sk89q.worldedit.regions.Region; import com.sk89q.worldedit.regions.Region;
public class BukkitWorld extends LocalWorld { public class BukkitWorld extends LocalWorld {
@ -421,7 +422,7 @@ public class BukkitWorld extends LocalWorld {
* @return * @return
*/ */
@Override @Override
public int removeEntities(LocalWorld.EntityType type, Vector origin, int radius) { public int removeEntities(EntityType type, Vector origin, int radius) {
int num = 0; int num = 0;
double radiusSq = Math.pow(radius, 2); double radiusSq = Math.pow(radius, 2);