diff options
author | nea <nea@nea.moe> | 2023-07-17 03:53:57 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-17 03:53:57 +0200 |
commit | 86d7516f3f619a0368b36af6dc5cad13babb5cb5 (patch) | |
tree | 7f59d4dd2553a0c21834f4818bdf312bb76381ce /src/main/kotlin/dulkirmod/utils | |
parent | 69db365139428bd0c433ccbb9d31dfded7216572 (diff) | |
download | DulkirMod-86d7516f3f619a0368b36af6dc5cad13babb5cb5.tar.gz DulkirMod-86d7516f3f619a0368b36af6dc5cad13babb5cb5.tar.bz2 DulkirMod-86d7516f3f619a0368b36af6dc5cad13babb5cb5.zip |
Add update notificationsupdatenotifs
Diffstat (limited to 'src/main/kotlin/dulkirmod/utils')
-rw-r--r-- | src/main/kotlin/dulkirmod/utils/MinecraftExecutor.kt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/utils/MinecraftExecutor.kt b/src/main/kotlin/dulkirmod/utils/MinecraftExecutor.kt new file mode 100644 index 0000000..6939f88 --- /dev/null +++ b/src/main/kotlin/dulkirmod/utils/MinecraftExecutor.kt @@ -0,0 +1,10 @@ +package dulkirmod.utils + +import dulkirmod.DulkirMod +import java.util.concurrent.Executor + +object MinecraftExecutor : Executor { + override fun execute(command: Runnable) { + DulkirMod.mc.addScheduledTask(command) + } +} |