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

This commit is contained in:
olivervscreeper authored and Zach Brown committed 2015-05-27 23:53:15 -05:00
1 parent dfdbaa3bd8
commit 9c0b7d59cb
1 file changed
+1 -1
+1 -1
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" );