You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val debugMessages:Boolean by BooleanSetting("Debug messages", default =false, description ="Prints debug messages in your chat instead of needing to open logs.")
17
20
val checkUpdates:Boolean by BooleanSetting("Update Checker", default =true, description ="Checks GitHub for latest HateCheaters releases and notifies you if you are on an old version!")
18
21
val server:String by StringSetting("Api Server", default ="default", hidden =false, description ="Server to be used to connect to the api. set to \"default\" to use the default. Only change if you know what you're doing. format: \"subdomain.domain.tld\"")
22
+
23
+
privatevar checkedForUpdate =false
24
+
25
+
init {
26
+
execute(250) {
27
+
if (checkedForUpdate ||!checkUpdates) destroyExecutor()
profile.inventory.backpackContents.keys.mapNotNull { it.toIntOrNull()?.plus(1) }.sorted(), 2, // adding and subtracting so the display matches the game menu.
210
+
profile.inventory.backpackContents.keys.mapNotNull { it.toIntOrNull()?.plus(1) }.sorted(), 2, // adding and subtracting so the display matches the game menu instead of index.
0 commit comments