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

28 Zeilen
821 B
Diff

2014-11-30 23:21:39 +01:00
From e72ca8f6069f746db006415563451d9f23f2f5fd 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
2014-11-30 23:21:39 +01:00
index 57b2794..fff2843 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
2014-11-30 23:21:39 +01:00
@@ -916,6 +916,13 @@ public interface Server extends PluginMessageRecipient {
{
throw new UnsupportedOperationException( "Not supported yet." );
}
+
+ // PaperSpigot start - Add getTPS method
+ public double[] getTPS()
+ {
+ throw new UnsupportedOperationException( "Not supported yet." );
+ }
+ // PaperSpigot end
}
Spigot spigot();
--
1.9.1