mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
Item respawn time logic now handles unset min/max times
This commit is contained in:
parent
5d82897215
commit
76523c0130
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class GroundSpawnLoader {
|
||||||
* Method used to initialize this spawn.
|
* Method used to initialize this spawn.
|
||||||
*/
|
*/
|
||||||
fun init(): GroundItem {
|
fun init(): GroundItem {
|
||||||
|
if (respawnRate shr 16 == 0) respawnRate = respawnRate or (respawnRate shl 16)
|
||||||
return GroundItemManager.create(this)
|
return GroundItemManager.create(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue