Browse Source

bane mechanic thread

lakebane2
FatBoy-DOTC 3 weeks ago
parent
commit
cafe6cd2fe
  1. 4
      src/engine/workthreads/BaneThread.java

4
src/engine/workthreads/BaneThread.java

@ -34,7 +34,7 @@ public class BaneThread implements Runnable { @@ -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 { @@ -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();
}

Loading…
Cancel
Save