From cc562033e7702c3508dc78731a969697b92f40de Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Mon, 17 Aug 2020 18:29:51 +0200 Subject: [PATCH] Fix console requirement --- .../java/com/plotsquared/core/command/DatabaseCommand.java | 2 +- .../main/java/com/plotsquared/core/command/RequiredType.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/DatabaseCommand.java b/Core/src/main/java/com/plotsquared/core/command/DatabaseCommand.java index bb874aa6c..f4a601269 100644 --- a/Core/src/main/java/com/plotsquared/core/command/DatabaseCommand.java +++ b/Core/src/main/java/com/plotsquared/core/command/DatabaseCommand.java @@ -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] ") + Template.of("value", "/plot database [area] ") ); return false; } diff --git a/Core/src/main/java/com/plotsquared/core/command/RequiredType.java b/Core/src/main/java/com/plotsquared/core/command/RequiredType.java index 06434de91..e09866aca 100644 --- a/Core/src/main/java/com/plotsquared/core/command/RequiredType.java +++ b/Core/src/main/java/com/plotsquared/core/command/RequiredType.java @@ -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;