mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 09:27:43 +01:00
Fix avg tick times
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 9c988f7504d9e12aca27e2835286ef100b5a4b43 Mon Sep 17 00:00:00 2001
|
||||
From 2c39363f1617d348182d18c4ef1ba4b60e904140 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sun, 26 May 2019 15:18:40 -0500
|
||||
Subject: [PATCH] Bring back server name
|
||||
@@ -9,7 +9,7 @@ Subject: [PATCH] Bring back server name
|
||||
2 files changed, 16 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
|
||||
index 36e48723..451dc570 100644
|
||||
index 8fbda2aee..a2cf8e29b 100644
|
||||
--- a/src/main/java/org/bukkit/Bukkit.java
|
||||
+++ b/src/main/java/org/bukkit/Bukkit.java
|
||||
@@ -1622,6 +1622,15 @@ public final class Bukkit {
|
||||
@@ -26,10 +26,10 @@ index 36e48723..451dc570 100644
|
||||
+ }
|
||||
+
|
||||
/**
|
||||
* Get the last 100 tick times (in nanos)
|
||||
* @return Last 100 tick times (in nanos)
|
||||
* Get a sample of the servers last tick times (in nanos)
|
||||
*
|
||||
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
|
||||
index c28cc59c..57bb2dde 100644
|
||||
index 7d631ac27..92df8f8cd 100644
|
||||
--- a/src/main/java/org/bukkit/Server.java
|
||||
+++ b/src/main/java/org/bukkit/Server.java
|
||||
@@ -1415,6 +1415,13 @@ public interface Server extends PluginMessageRecipient {
|
||||
@@ -44,7 +44,7 @@ index c28cc59c..57bb2dde 100644
|
||||
+ String getServerName();
|
||||
+
|
||||
/**
|
||||
* Get the last 100 tick times (in nanos)
|
||||
* Get a sample of the servers last tick times (in nanos)
|
||||
*
|
||||
--
|
||||
2.24.0
|
||||
|
||||
Reference in New Issue
Block a user