From 41f4a8ff58a1de36e45d8815b75db10b17ef9cbf Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 1 Jan 2025 19:32:11 -0600 Subject: [PATCH] Arena System --- src/engine/gameManager/ArenaManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/gameManager/ArenaManager.java b/src/engine/gameManager/ArenaManager.java index 74d5513c..f0084cf1 100644 --- a/src/engine/gameManager/ArenaManager.java +++ b/src/engine/gameManager/ArenaManager.java @@ -32,8 +32,8 @@ public class ArenaManager { } } - if(lastExecution + pulseDelay < System.currentTimeMillis()) - return; + //if(lastExecution + pulseDelay > System.currentTimeMillis()) + // return; lastExecution = System.currentTimeMillis(); @@ -93,7 +93,7 @@ public class ArenaManager { try { // Generate random X and Z coordinates within the range [10,000, 90,000] float x = ThreadLocalRandom.current().nextInt(10000, 90000); - float z = ThreadLocalRandom.current().nextInt(-10000, -90000); + float z = ThreadLocalRandom.current().nextInt(10000, 90000); float y = 0; // Y coordinate is always 0 loc = new Vector3fImmutable(x, y, z);