Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
365 B
15 lines
365 B
3 years ago
|
package org.openrs2.cache
|
||
|
|
||
|
import io.netty.buffer.ByteBufAllocator
|
||
|
import java.nio.file.Path
|
||
|
import javax.inject.Inject
|
||
|
import javax.inject.Provider
|
||
|
|
||
|
public class StoreProvider @Inject constructor(
|
||
|
private val alloc: ByteBufAllocator
|
||
|
) : Provider<Store> {
|
||
|
override fun get(): Store {
|
||
|
return Store.open(Path.of("nonfree/share/cache"), alloc)
|
||
|
}
|
||
|
}
|