19 lines
371 B
Java
19 lines
371 B
Java
package me.jamestmartin.wasteland.modtools.infraction;
|
|
|
|
public enum InfractionType {
|
|
BAN(true),
|
|
KICK(false),
|
|
MUTE(true),
|
|
WARN(false);
|
|
|
|
private final boolean hasduration;
|
|
|
|
private InfractionType(boolean hasDuration) {
|
|
this.hasduration = hasDuration;
|
|
}
|
|
|
|
public boolean hasDuration() {
|
|
return hasduration;
|
|
}
|
|
}
|