Item respawn time logic now handles unset min/max times
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user