mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-10 19:57:54 +01:00
remove platform.canceltask
This commit is contained in:
parent
abb42fff72
commit
6af4a7f27a
@ -44,10 +44,6 @@ object AspirinPlatform : ViaPlatform<UUID> {
|
|||||||
override fun runRepeatingSync(p0: Runnable, p1: Long): AspirinTask =
|
override fun runRepeatingSync(p0: Runnable, p1: Long): AspirinTask =
|
||||||
AspirinTask(eventLoop.scheduleAtFixedRate(p0, 0, p1 * 50L, TimeUnit.MILLISECONDS))
|
AspirinTask(eventLoop.scheduleAtFixedRate(p0, 0, p1 * 50L, TimeUnit.MILLISECONDS))
|
||||||
|
|
||||||
override fun cancelTask(p0: PlatformTask<*>?) {
|
|
||||||
(p0 as AspirinTask).obj.cancel(false)
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun getDump(): JsonObject = JsonObject()
|
override fun getDump(): JsonObject = JsonObject()
|
||||||
override fun kickPlayer(p0: UUID, p1: String): Boolean = false
|
override fun kickPlayer(p0: UUID, p1: String): Boolean = false
|
||||||
override fun getApi(): ViaAPI<UUID> = AspirinViaAPI
|
override fun getApi(): ViaAPI<UUID> = AspirinViaAPI
|
||||||
|
Loading…
Reference in New Issue
Block a user