mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-07 09:53:04 +00:00
Fix SQL Syntax
This commit is contained in:
@ -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!");
|
||||
}
|
||||
|
@ -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!");
|
||||
}
|
||||
|
@ -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!");
|
||||
}
|
||||
|
@ -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!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user