2015-05-28 05:11:18 +00:00
|
|
|
From 1ada1bf4361c4a6312d2228ad5fa62ade8d0d91e Mon Sep 17 00:00:00 2001
|
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
|
|
Date: Thu, 28 May 2015 00:00:29 -0500
|
2014-07-28 08:29:08 +00:00
|
|
|
Subject: [PATCH] Stop using spigot's website for timings
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/command/defaults/TimingsCommand.java b/src/main/java/org/bukkit/command/defaults/TimingsCommand.java
|
2015-05-28 05:11:18 +00:00
|
|
|
index fc59aa3..9782a3b 100644
|
2014-07-28 08:29:08 +00:00
|
|
|
--- a/src/main/java/org/bukkit/command/defaults/TimingsCommand.java
|
|
|
|
+++ b/src/main/java/org/bukkit/command/defaults/TimingsCommand.java
|
2014-08-25 21:30:52 +00:00
|
|
|
@@ -94,7 +94,7 @@ public class TimingsCommand extends BukkitCommand {
|
2014-07-28 08:29:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sender.sendMessage("Timings written to " + timings.getPath());
|
|
|
|
- sender.sendMessage( "Paste contents of file into form at http://www.spigotmc.org/go/timings to read results." );
|
|
|
|
+ sender.sendMessage( "Paste contents of file into form at http://aikar.co/timings.php to read results." );
|
|
|
|
|
|
|
|
} catch (IOException e) {
|
|
|
|
} finally {
|
2014-12-18 23:35:10 +00:00
|
|
|
@@ -241,7 +241,7 @@ public class TimingsCommand extends BukkitCommand {
|
2014-07-28 08:29:08 +00:00
|
|
|
|
|
|
|
String location = con.getHeaderField( "Location" );
|
|
|
|
String pasteID = location.substring( "http://paste.ubuntu.com/".length(), location.length() - 1 );
|
2015-05-28 05:11:18 +00:00
|
|
|
- sender.sendMessage( ChatColor.GREEN + "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://aikar.co/timings.php?url=" + pasteID );
|
2014-07-28 08:29:08 +00:00
|
|
|
} catch ( IOException ex )
|
|
|
|
{
|
|
|
|
sender.sendMessage( ChatColor.RED + "Error pasting timings, check your console for more information" );
|
|
|
|
--
|
2015-05-28 05:11:18 +00:00
|
|
|
2.4.1.windows.1
|
2014-07-28 08:29:08 +00:00
|
|
|
|