mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-11 17:10:21 -07:00
Fixed all bugs
This commit is contained in:
parent
61be1dbc92
commit
628a37be4e
1 changed files with 98 additions and 95 deletions
|
|
@ -4,6 +4,7 @@ import org.rs09.client.config.GameConfig
|
|||
import org.rs09.client.rendering.RenderingUtils
|
||||
import org.rs09.client.rendering.Toolkit
|
||||
import org.runite.client.*
|
||||
import java.lang.Exception
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
object SlayerTracker {
|
||||
|
|
@ -47,6 +48,7 @@ object SlayerTracker {
|
|||
|
||||
@JvmStatic
|
||||
fun setSprite(){
|
||||
try {
|
||||
SystemLogger.logInfo("Getting slayer sprite...")
|
||||
val itemId: Int = when (GameConfig.slayerTaskID) {
|
||||
0 -> 4144
|
||||
|
|
@ -144,5 +146,6 @@ object SlayerTracker {
|
|||
}
|
||||
|
||||
curSprite = sprite
|
||||
} catch (ignored: Exception){}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue