mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 19:54:43 +02:00
Fix command duplication
This commit is contained in:
@ -33,7 +33,7 @@ public class SpongeCommand implements CommandCallable {
|
||||
catch (Exception e) {
|
||||
pp = ConsolePlayer.getConsole();
|
||||
}
|
||||
if (MainCommand.onCommand(pp, cmd.getName(), string.split(" "))) {
|
||||
if (MainCommand.onCommand(pp, cmd.getName(), string.length() == 0 ? new String[] {} : string.split(" "))) {
|
||||
return CommandResult.success();
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user