forked from MagicBane/Server
bane handling system
This commit is contained in:
@@ -36,9 +36,8 @@ public class BaneThread implements Runnable {
|
|||||||
|
|
||||||
public void run() {
|
public void run() {
|
||||||
while (true) {
|
while (true) {
|
||||||
//this.processBanesWindow();
|
|
||||||
BaneManager.pulse_banes();
|
|
||||||
try {
|
try {
|
||||||
|
BaneManager.pulse_banes();
|
||||||
Thread.sleep(100); // Pause for 100ms to reduce CPU usage
|
Thread.sleep(100); // Pause for 100ms to reduce CPU usage
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
Logger.error("Thread interrupted", e);
|
Logger.error("Thread interrupted", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user