mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-04 09:30:00 +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 =
|
||||
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 kickPlayer(p0: UUID, p1: String): Boolean = false
|
||||
override fun getApi(): ViaAPI<UUID> = AspirinViaAPI
|
||||
@ -63,4 +59,4 @@ object AspirinPlatform : ViaPlatform<UUID> {
|
||||
override fun getPluginVersion(): String = VersionInfo.VERSION
|
||||
override fun isOldClientsAllowed(): Boolean = true
|
||||
override fun isProxy(): Boolean = true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user