Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-22 14:28:09 +01:00
28 Zeilen
905 B
Diff
28 Zeilen
905 B
Diff
From a4c18f9cef6b6f29ef814ae4ac2583a8c079b21c 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 20edb77..5a0d32f 100644
|
|
--- a/src/main/java/org/bukkit/Server.java
|
|
+++ b/src/main/java/org/bukkit/Server.java
|
|
@@ -937,6 +937,13 @@ public interface Server extends PluginMessageRecipient {
|
|
public void broadcast(net.md_5.bungee.api.chat.BaseComponent... components) {
|
|
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.5.msysgit.1
|
|
|