Added support for branches in UpdatePlugin
https://github.com/TBMCPlugins/ButtonCore/issues/23 lmao
This commit is contained in:
parent
9c06e22ca7
commit
64529eef73
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public class UpdatePlugin extends AdminCommandBase {
|
|||
return true;
|
||||
} else {
|
||||
Bukkit.getScheduler().runTaskAsynchronously(PluginMain.Instance, () -> {
|
||||
TBMCCoreAPI.UpdatePlugin(args[0], sender);
|
||||
TBMCCoreAPI.UpdatePlugin(args[0], sender, args.length == 1 ? "master" : args[1]);
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue