Fixed frame delay

This commit is contained in:
Teriuihi 2022-06-05 18:21:57 +02:00
parent 8502848103
commit 0a7b583424

View File

@ -34,13 +34,6 @@ public class FrameSpawnerLocation extends BukkitRunnable {
iterator = frames.iterator(); iterator = frames.iterator();
if (amount > 0) if (amount > 0)
amount--; amount--;
if (repeatDelay <= 0)
return;
try { //Wait before repeating the frames
Thread.sleep(repeatDelay); //TODO figure out why this isn't working and fix it
} catch (InterruptedException e) {
e.printStackTrace();
}
} else { } else {
this.cancel(); this.cancel();
if (Config.DEBUG) if (Config.DEBUG)