Merge pull request 'Add TNTMode to ONLY_TB' (#167) from TNTMode into master
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
64e8217440
@ -36,7 +36,7 @@ import org.bukkit.event.entity.EntityExplodeEvent;
|
|||||||
|
|
||||||
public class CommandTNT implements CommandExecutor, Listener {
|
public class CommandTNT implements CommandExecutor, Listener {
|
||||||
|
|
||||||
private static TNTMode tntMode = TNTMode.OFF;
|
private static TNTMode tntMode = Region.buildAreaEnabled() ? TNTMode.ONLY_TB : TNTMode.OFF;
|
||||||
|
|
||||||
public static TNTMode getTntMode() {
|
public static TNTMode getTntMode() {
|
||||||
return tntMode;
|
return tntMode;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren