Fix console requirement

This commit is contained in:
N0tMyFaultOG 2020-08-17 18:29:51 +02:00
parent fabb9b6fd7
commit cc562033e7
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ public class DatabaseCommand extends SubCommand {
if (args.length < 1) {
player.sendMessage(
TranslatableCaption.of("commandconfig.command_syntax"),
Template.of("value", "/plot database [area] <sqlite|mysql|import>")
Template.of("value", "/plot database [area] <sqlite | mysql | import>")
);
return false;
}

View File

@ -32,8 +32,8 @@ import com.plotsquared.core.configuration.caption.TranslatableCaption;
import javax.annotation.Nonnull;
public enum RequiredType {
CONSOLE(TranslatableCaption.of("console.is_console")),
PLAYER(TranslatableCaption.of("console.not_console")),
CONSOLE(TranslatableCaption.of("console.not_console")),
PLAYER(TranslatableCaption.of("console.is_console")),
NONE(StaticCaption.of("Something went wrong: RequiredType=NONE")); // this caption should never be sent
private final Caption caption;