mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 15:11:22 +01:00
fix typo in builtin command conditions (#115)
(cherry picked from commit 3be7b09b7d
)
This commit is contained in:
parent
9aa34529a9
commit
c421971eaa
@ -20,7 +20,7 @@ public class Conditions {
|
|||||||
|
|
||||||
public static boolean consoleOnly(CommandSender sender, String commandString) {
|
public static boolean consoleOnly(CommandSender sender, String commandString) {
|
||||||
if (!(sender instanceof ConsoleSender)) {
|
if (!(sender instanceof ConsoleSender)) {
|
||||||
sender.sendMessage(Component.text("The command is only available form the console"));
|
sender.sendMessage(Component.text("The command is only available from the console"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user