Fixes SPIGOT-906 - issue with the grammar used in timings command.

This commit is contained in:
olivervscreeper 2015-05-25 22:37:22 +01:00 committed by Zach Brown
parent dfdbaa3bd8
commit 9c0b7d59cb

View file

@ -253,7 +253,7 @@ index a39ea5d..552dabb 100644
+
+ String location = con.getHeaderField( "Location" );
+ String pasteID = location.substring( "http://paste.ubuntu.com/".length(), location.length() - 1 );
+ sender.sendMessage( ChatColor.GREEN + "View timings results can be viewed at http://www.spigotmc.org/go/timings?url=" + pasteID );
+ sender.sendMessage( ChatColor.GREEN + "Timings results can be viewed at http://www.spigotmc.org/go/timings?url=" + pasteID );
+ } catch ( IOException ex )
+ {
+ sender.sendMessage( ChatColor.RED + "Error pasting timings, check your console for more information" );