From 2897184dd1bc2db237cb37c5ed72591685666c9a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 16 Jun 2021 21:06:02 +0200 Subject: [PATCH] Fix Paper TPSLimit --- .../0567-Undo-partial-0004-MC-Utils.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Paper/SteamWar-Patches/0567-Undo-partial-0004-MC-Utils.patch diff --git a/Paper/SteamWar-Patches/0567-Undo-partial-0004-MC-Utils.patch b/Paper/SteamWar-Patches/0567-Undo-partial-0004-MC-Utils.patch new file mode 100644 index 0000000..fd16aae --- /dev/null +++ b/Paper/SteamWar-Patches/0567-Undo-partial-0004-MC-Utils.patch @@ -0,0 +1,24 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: yoyosource +Date: Wed, 16 Jun 2021 20:56:09 +0200 +Subject: [PATCH] Undo partial 'Paper/Spigot-Server-Patches/0004-MC-Utils.patch' + +--- + SystemUtils.java | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/main/java/net/minecraft/SystemUtils.java b/src/main/java/net/minecraft/SystemUtils.java +index b0746aa..b4cb8a9 100644 +--- a/src/main/java/net/minecraft/SystemUtils.java ++++ b/src/main/java/net/minecraft/SystemUtils.java +@@ -64,7 +64,7 @@ public class SystemUtils { + } + + public static long getMonotonicNanos() { +- return System.nanoTime(); ++ return a.getAsLong(); + } + + public static long getTimeMillis() { +-- +