Fix SQL Syntax

This commit is contained in:
spacerocket62
2020-11-09 20:53:45 -08:00
parent 8b94ef3789
commit 8ecc1d2fce
6 changed files with 23 additions and 25 deletions

View File

@ -31,7 +31,7 @@ public class AdventureCMD extends PlexCommand
if (args.length == 0)
{
// doesn't work
if (isConsole())
if (sender.isConsoleSender())
{
throw new CommandFailException("You must define a player when using the console!");
}

View File

@ -31,7 +31,7 @@ public class CreativeCMD extends PlexCommand
if (args.length == 0)
{
// doesn't work
if (isConsole())
if (sender.isConsoleSender())
{
throw new CommandFailException("You must define a player when using the console!");
}

View File

@ -31,7 +31,7 @@ public class SpectatorCMD extends PlexCommand
if (args.length == 0)
{
// doesn't work
if (isConsole())
if (sender.isConsoleSender())
{
throw new CommandFailException("You must define a player when using the console!");
}

View File

@ -31,7 +31,7 @@ public class SurvivalCMD extends PlexCommand
if (args.length == 0)
{
// doesn't work
if (isConsole())
if (sender.isConsoleSender())
{
throw new CommandFailException("You must define a player when using the console!");
}