Fixed frame delay
This commit is contained in:
parent
8502848103
commit
0a7b583424
|
|
@ -34,13 +34,6 @@ public class FrameSpawnerLocation extends BukkitRunnable {
|
|||
iterator = frames.iterator();
|
||||
if (amount > 0)
|
||||
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 {
|
||||
this.cancel();
|
||||
if (Config.DEBUG)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user