mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Fix console requirement
This commit is contained in:
parent
fabb9b6fd7
commit
cc562033e7
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user