Add missing retain() call to Group.pack()

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent f1c3c65811
commit 451d59b9e6
  1. 2
      cache/src/main/kotlin/org/openrs2/cache/Group.kt

@ -72,7 +72,7 @@ public object Group {
val first = files.values.first() val first = files.values.first()
if (files.size == 1) { if (files.size == 1) {
return first return first.retain()
} }
first.alloc().buffer().use { output -> first.alloc().buffer().use { output ->

Loading…
Cancel
Save