Fix TPSUtils
Dieser Commit ist enthalten in:
Ursprung
12a4c2e4ec
Commit
671539b813
@ -17,7 +17,7 @@ public class TPSUtils {
|
|||||||
|
|
||||||
public static void init() {
|
public static void init() {
|
||||||
Bukkit.getScheduler().runTaskTimer(SpectateSystem.get(), () -> nanoOffset += nanoDOffset, 1, 1);
|
Bukkit.getScheduler().runTaskTimer(SpectateSystem.get(), () -> nanoOffset += nanoDOffset, 1, 1);
|
||||||
SystemUtils.a = () -> nanoOffset;
|
SystemUtils.a = () -> System.nanoTime() + nanoOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setTPS(double tps) {
|
public static void setTPS(double tps) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren