geforkt von Mirrors/Paper
Updated timing code for new event system
Dieser Commit ist enthalten in:
Ursprung
1aa0847803
Commit
4b0f819af2
@ -127,6 +127,7 @@ public final class CraftServer implements Server {
|
|||||||
configuration.options().copyDefaults(true);
|
configuration.options().copyDefaults(true);
|
||||||
configuration.setDefaults(YamlConfiguration.loadConfiguration(getClass().getClassLoader().getResourceAsStream("configurations/bukkit.yml")));
|
configuration.setDefaults(YamlConfiguration.loadConfiguration(getClass().getClassLoader().getResourceAsStream("configurations/bukkit.yml")));
|
||||||
saveConfig();
|
saveConfig();
|
||||||
|
((SimplePluginManager) pluginManager).useTimings(configuration.getBoolean("settings.plugin-profiling", false));
|
||||||
|
|
||||||
loadPlugins();
|
loadPlugins();
|
||||||
enablePlugins(PluginLoadOrder.STARTUP);
|
enablePlugins(PluginLoadOrder.STARTUP);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren