Add TNTMode to ONLY_TB #167
@ -38,6 +38,12 @@ public class CommandTNT implements CommandExecutor, Listener {
|
|||||||
|
|
||||||
private static TNTMode tntMode = TNTMode.OFF;
|
private static TNTMode tntMode = TNTMode.OFF;
|
||||||
|
|
||||||
|
static {
|
||||||
|
if (Region.buildAreaEnabled()) {
|
||||||
|
tntMode = TNTMode.ONLY_TB;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static TNTMode getTntMode() {
|
public static TNTMode getTntMode() {
|
||||||
return tntMode;
|
return tntMode;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren