From 5a03623b1468cb78d77bb045d06b3620f857870a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 18 Feb 2024 12:15:00 +0100 Subject: [PATCH] Fix ScriptSystem in 1.15? --- .../de/steamwar/bausystem/features/tpslimit/TPSSystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/tpslimit/TPSSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/features/tpslimit/TPSSystem.java index 4baf3259..d047f39b 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/tpslimit/TPSSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/tpslimit/TPSSystem.java @@ -64,6 +64,8 @@ public class TPSSystem implements Listener { } public TPSSystem() { + instance = this; + if (TPSFreezeUtils.isCanFreeze()) { new TPSFreezeCommand(); new TickFreezeCommand(); @@ -82,8 +84,6 @@ public class TPSSystem implements Listener { new TickDefaultCommand(); new TPSBaseCommand(); new TickBaseCommand(); - - instance = this; } private void setTPS(double tps) {