мда
This commit is contained in:
parent
15abdba2c5
commit
f94e6f2f72
@ -389,7 +389,9 @@ class Starbound : ISBFileLocator {
|
|||||||
t: Object2ObjectOpenHashMap<String, ArrayList<IStarboundFile>>,
|
t: Object2ObjectOpenHashMap<String, ArrayList<IStarboundFile>>,
|
||||||
u: Object2ObjectOpenHashMap<String, ArrayList<IStarboundFile>>
|
u: Object2ObjectOpenHashMap<String, ArrayList<IStarboundFile>>
|
||||||
): Object2ObjectOpenHashMap<String, ArrayList<IStarboundFile>> {
|
): Object2ObjectOpenHashMap<String, ArrayList<IStarboundFile>> {
|
||||||
t.putAll(u)
|
for ((k, v) in u)
|
||||||
|
t.computeIfAbsent(k, Object2ObjectFunction { ArrayList() }).addAll(v)
|
||||||
|
|
||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user