mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 23:29:32 +01:00
27 lines
841 B
Diff
27 lines
841 B
Diff
From 8bce4a508162d640c99efa7ddde38c1fe773d49e 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
|
|
index 169008a..26acdda 100644
|
|
--- a/src/main/java/org/bukkit/Server.java
|
|
+++ b/src/main/java/org/bukkit/Server.java
|
|
@@ -956,6 +956,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();
|
|
--
|
|
2.5.0
|
|
|