mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-27 05:00:08 +08:00
Fixed EntityType.
This commit is contained in:
parent
7dcb4da83b
commit
c8058f65fc
@ -45,6 +45,7 @@
|
||||
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 int killMobs(Vector origin, int radius) {
|
||||
* @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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user