Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit d167e0d

Browse files
committed
Added sleep
Signed-off-by: DeathsGun <deathsgun@protonmail.com>
1 parent 342ea0e commit d167e0d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/xyz/deathsgun/modmanager/services/ManipulationService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ public void run() {
4848
for (ManipulationTask task : scheduledTasks) {
4949
task.executeTask();
5050
}
51+
try {
52+
sleep(250); // I know this is dirty but until the Kotlin version comes out it's ok
53+
} catch (InterruptedException ignored) {
54+
}
5155
}
5256
}
5357

0 commit comments

Comments
 (0)