Arena System

This commit is contained in:
2025-01-01 19:32:11 -06:00
parent a13d5018b9
commit 41f4a8ff58
+3 -3
View File
@@ -32,8 +32,8 @@ public class ArenaManager {
} }
} }
if(lastExecution + pulseDelay < System.currentTimeMillis()) //if(lastExecution + pulseDelay > System.currentTimeMillis())
return; // return;
lastExecution = System.currentTimeMillis(); lastExecution = System.currentTimeMillis();
@@ -93,7 +93,7 @@ public class ArenaManager {
try { try {
// Generate random X and Z coordinates within the range [10,000, 90,000] // Generate random X and Z coordinates within the range [10,000, 90,000]
float x = ThreadLocalRandom.current().nextInt(10000, 90000); 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 float y = 0; // Y coordinate is always 0
loc = new Vector3fImmutable(x, y, z); loc = new Vector3fImmutable(x, y, z);