Fixed utility classes having constructors.

This commit is contained in:
sk89q
2014-04-04 14:35:12 -07:00
parent 2b0ee84952
commit 478ce3f627
14 changed files with 67 additions and 41 deletions

View File

@ -42,7 +42,7 @@ public abstract class LocalWorld implements World, Extent {
/**
* Named flags to use as parameters to {@link LocalWorld#killMobs(Vector, double, int)}
*/
public class KillFlags {
public final class KillFlags {
public static final int PETS = 1 << 0;
public static final int NPCS = 1 << 1;
public static final int ANIMALS = 1 << 2;
@ -50,6 +50,9 @@ public abstract class LocalWorld implements World, Extent {
public static final int AMBIENT = 1 << 4;
public static final int FRIENDLY = PETS | NPCS | ANIMALS | GOLEMS | AMBIENT;
public static final int WITH_LIGHTNING = 1 << 20;
private KillFlags() {
}
}
/**