diff options
author | Tahg <tahgtahv@gmail.com> | 2012-01-19 13:01:41 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2012-01-19 18:50:39 -0500 |
commit | 4b0f819af21dc5196f704b595e1ae3dd47ad2372 (patch) | |
tree | 25bd142aef3b600100616cbbf0495f9acde3af1f /src | |
parent | 1aa0847803138495ee6b6ab6e34074fc1ba0598a (diff) | |
download | craftbukkit-4b0f819af21dc5196f704b595e1ae3dd47ad2372.tar craftbukkit-4b0f819af21dc5196f704b595e1ae3dd47ad2372.tar.gz craftbukkit-4b0f819af21dc5196f704b595e1ae3dd47ad2372.tar.lz craftbukkit-4b0f819af21dc5196f704b595e1ae3dd47ad2372.tar.xz craftbukkit-4b0f819af21dc5196f704b595e1ae3dd47ad2372.zip |
Updated timing code for new event system
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index f3ed843b..e4d8fb4a 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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); |