mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 13:45:14 +01:00
Fixed bug with sub command getAddon() inheritance.
This commit is contained in:
parent
5981ffa0d5
commit
22121ad4f9
@ -151,7 +151,7 @@ public abstract class CompositeCommand extends Command implements PluginIdentifi
|
|||||||
* @param aliases - aliases for this subcommand
|
* @param aliases - aliases for this subcommand
|
||||||
*/
|
*/
|
||||||
public CompositeCommand(CompositeCommand parent, String label, String... aliases) {
|
public CompositeCommand(CompositeCommand parent, String label, String... aliases) {
|
||||||
this(null, parent, label, aliases);
|
this(parent.getAddon(), parent, label, aliases);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user