mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +01:00
Added plugin-profiling setting to bukkit.yml.
By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
ade8e8932f
commit
3fad4cb7c3
2 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,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));
|
||||
((SimplePluginManager) pluginManager).useTimings(configuration.getBoolean("settings.plugin-profiling"));
|
||||
|
||||
updater = new AutoUpdater(new BukkitDLUpdaterService(configuration.getString("auto-updater.host")), getLogger(), configuration.getString("auto-updater.preferred-channel"));
|
||||
updater.setEnabled(configuration.getBoolean("auto-updater.enabled"));
|
||||
|
|
|
@ -21,6 +21,7 @@ settings:
|
|||
update-folder: update
|
||||
ping-packet-limit: 100
|
||||
use-exact-login-location: false
|
||||
plugin-profiling: false
|
||||
ticks-per:
|
||||
animal-spawns: 400
|
||||
monster-spawns: 1
|
||||
|
|
Loading…
Add table
Reference in a new issue