Fix typo on /timings on message

By: brajo <jordan@brajo.co.uk>
This commit is contained in:
Spigot 2014-01-27 14:47:37 +00:00
parent 0c538f5fe5
commit ad0730fad2

View File

@ -43,7 +43,7 @@ index 7c28b75..1bc26c6 100644
+ if ( "on".equals( args[0] ) )
+ {
+ // ( (org.bukkit.plugin.SimplePluginManager) Bukkit.getPluginManager() ).useTimings( true );
+ sender.sendMessage( ChatColor.RED + "This command disabled as it does not produce accurate results. Please enable plugin-profiling in bukkit.yml and restart." );
+ sender.sendMessage( ChatColor.RED + "This command is disabled as it does not produce accurate results. Please enable plugin-profiling in bukkit.yml and restart." );
+ } else if ( "off".equals( args[0] ) )
+ {
+ ( (org.bukkit.plugin.SimplePluginManager) Bukkit.getPluginManager() ).useTimings( false );