From cafe6cd2fea5c87aa032a306823d52b9e4fb64e6 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 31 Dec 2024 17:38:21 -0600 Subject: [PATCH] bane mechanic thread --- src/engine/workthreads/BaneThread.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/workthreads/BaneThread.java b/src/engine/workthreads/BaneThread.java index e015a790..cfd1a3ab 100644 --- a/src/engine/workthreads/BaneThread.java +++ b/src/engine/workthreads/BaneThread.java @@ -34,7 +34,7 @@ public class BaneThread implements Runnable { } - public static void processBanesWindow() { + public void processBanesWindow() { try { for(int baneId : Bane.banes.keySet()){ @@ -54,7 +54,7 @@ public class BaneThread implements Runnable { lastRun = System.currentTimeMillis(); while (true) { if(lastRun + instancedelay < System.currentTimeMillis()) - processBanesWindow(); + this.processBanesWindow(); lastRun = System.currentTimeMillis(); }