papermc/Spigot-API-Patches/0005-Add-getTPS-method.patch

28 lines
851 B
Diff
Raw Normal View History

2015-07-14 15:59:57 +00:00
From bd975a633175f8370377c775a4f2ac6192ea7bd9 Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Sun, 19 Oct 2014 18:22:18 -0500
Subject: [PATCH] Add getTPS method
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
2015-07-14 15:59:57 +00:00
index d9ad0ca..a7fafb2 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
2015-07-14 15:59:57 +00:00
@@ -944,6 +944,13 @@ public interface Server extends PluginMessageRecipient {
public void restart() {
throw new UnsupportedOperationException("Not supported yet.");
}
+
+ // PaperSpigot start - Add getTPS method
+ public double[] getTPS()
+ {
+ throw new UnsupportedOperationException( "Not supported yet." );
+ }
+ // PaperSpigot end
}
Spigot spigot();
--
2015-06-05 12:45:30 +00:00
1.9.5.msysgit.1