mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-16 15:55:12 +01:00
Adjusted default command for backwards compatibility
This commit is contained in:
parent
36d0a07e35
commit
64c83f809c
@ -116,8 +116,8 @@ public abstract class DefaultPlayerCommand extends CompositeCommand {
|
||||
map(c -> c.call(user, c.getLabel(), Collections.emptyList())).
|
||||
orElse(false);
|
||||
} else {
|
||||
// Command is not a sub command - perform it directly
|
||||
return user.performCommand(command);
|
||||
// Command is not a known sub command - try to perform it directly - some plugins trap these commands, like Deluxe menus
|
||||
return user.performCommand(label + " " + command);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user