Fix typo on /timings on message

This commit is contained in:
brajo 2014-01-27 14:47:37 +00:00
parent 6bf69c66f3
commit 9557f49051

View File

@ -43,7 +43,7 @@ index 7c28b75..1bc26c6 100644
+ if ( "on".equals( args[0] ) ) + if ( "on".equals( args[0] ) )
+ { + {
+ // ( (org.bukkit.plugin.SimplePluginManager) Bukkit.getPluginManager() ).useTimings( true ); + // ( (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] ) ) + } else if ( "off".equals( args[0] ) )
+ { + {
+ ( (org.bukkit.plugin.SimplePluginManager) Bukkit.getPluginManager() ).useTimings( false ); + ( (org.bukkit.plugin.SimplePluginManager) Bukkit.getPluginManager() ).useTimings( false );