mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-07 07:25:34 +02:00
29 lines
585 B
Java
29 lines
585 B
Java
package com.eu.habbo.habbohotel.modtool;
|
|
|
|
public enum ModToolBanType {
|
|
ACCOUNT("account"),
|
|
MACHINE("machine"),
|
|
SUPER("super"),
|
|
IP("ip"),
|
|
UNKNOWN("???");
|
|
|
|
private final String type;
|
|
|
|
ModToolBanType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public static ModToolBanType fromString(String type) {
|
|
for (ModToolBanType t : ModToolBanType.values()) {
|
|
if (t.type.equalsIgnoreCase(type)) {
|
|
return t;
|
|
}
|
|
}
|
|
|
|
return UNKNOWN;
|
|
}
|
|
|
|
public String getType() {
|
|
return this.type;
|
|
}
|
|
} |