Fix CommandTNT for Region without Testblock #177
@ -139,11 +139,7 @@ public class CommandTNT implements CommandExecutor, Listener {
|
||||
}
|
||||
|
||||
private void tntToggle(Region region, TNTMode requestedMode, String requestedMessage) {
|
||||
if (requestedMode != null) {
|
||||
if (!region.hasTestblock() && requestedMode == TNTMode.ONLY_TB) {
|
||||
requestedMode = TNTMode.ON;
|
||||
requestedMessage = getEnableMessage();
|
||||
}
|
||||
if (requestedMode != null && region.hasTestblock()) {
|
||||
region.setTntMode(requestedMode);
|
||||
RegionToggleCommand.actionBar(region, requestedMessage);
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren