Implement performance improvements from the EMC-CraftBukkit fork
See the individual patch files for more details
This commit is contained in:
parent
c615aa649b
commit
25c5c2cb16
6 changed files with 586 additions and 0 deletions
27
Spigot-API-Patches/0005-Add-getTPS-method.patch
Normal file
27
Spigot-API-Patches/0005-Add-getTPS-method.patch
Normal file
|
@ -0,0 +1,27 @@
|
|||
From 9ad95be7f945f498bd4a58c63ffc4d3c2d7c8e73 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 199060d..560364e 100644
|
||||
--- a/src/main/java/org/bukkit/Server.java
|
||||
+++ b/src/main/java/org/bukkit/Server.java
|
||||
@@ -926,6 +926,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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue