Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Changed to pluginmanager direct for enabling plugins
Dieser Commit ist enthalten in:
Ursprung
c7b0db5f50
Commit
853d00fe98
@ -36,7 +36,7 @@ public final class CraftServer implements Server {
|
|||||||
Plugin[] plugins = plugins = pluginManager.loadPlugins(pluginFolder);
|
Plugin[] plugins = plugins = pluginManager.loadPlugins(pluginFolder);
|
||||||
|
|
||||||
for (Plugin plugin : plugins) {
|
for (Plugin plugin : plugins) {
|
||||||
plugin.getPluginLoader().enablePlugin(plugin);
|
pluginManager.enablePlugin(plugin);
|
||||||
}
|
}
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, "(Is it up to date?)", ex);
|
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, "(Is it up to date?)", ex);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren