mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Fixed bug where players couldn't log in after logging out after being frozen
This commit is contained in:
parent
35f9a92aef
commit
95012b9ca5
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class FrozenImmunity : PersistTimer (1, "frozen:immunity") {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun parse (root: JSONObject, entity: Entity) {
|
override fun parse (root: JSONObject, entity: Entity) {
|
||||||
runInterval = root["ticksRemaining"].toString().toInt()
|
runInterval = root["ticksLeft"].toString().toInt()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onRegister (entity: Entity) {
|
override fun onRegister (entity: Entity) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue