mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
onDisable on stop - stephank
By: Taylor Kelly <tkelly910@gmail.com>
This commit is contained in:
parent
ccf32b63ef
commit
78473d2dd4
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ public final class CraftServer implements Server {
|
|||
}
|
||||
}
|
||||
|
||||
public void disablePlugins() {
|
||||
pluginManager.disablePlugins();
|
||||
}
|
||||
|
||||
private void loadPlugin(Plugin plugin) {
|
||||
List<Command> pluginCommands = PluginCommandYamlParser.parse(plugin);
|
||||
if (!pluginCommands.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue