Merge pull request #107 from brajo/master

Fix typo on /timings on message
This commit is contained in:
thinkofdeath 2014-01-27 07:08:00 -08:00
commit 72b48c77af
1 changed files with 1 additions and 1 deletions

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 );