mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 18:07:39 +01:00
Updated timing code for new event system
This commit is contained in:
parent
1aa0847803
commit
4b0f819af2
@ -127,6 +127,7 @@ public final class CraftServer implements Server {
|
||||
configuration.options().copyDefaults(true);
|
||||
configuration.setDefaults(YamlConfiguration.loadConfiguration(getClass().getClassLoader().getResourceAsStream("configurations/bukkit.yml")));
|
||||
saveConfig();
|
||||
((SimplePluginManager) pluginManager).useTimings(configuration.getBoolean("settings.plugin-profiling", false));
|
||||
|
||||
loadPlugins();
|
||||
enablePlugins(PluginLoadOrder.STARTUP);
|
||||
|
Loading…
Reference in New Issue
Block a user