mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-13 04:01:30 +01:00
Minor optimisation
This commit is contained in:
parent
4936e7d088
commit
d343145c24
@ -94,5 +94,5 @@ object EnchantmentTargets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private val enchantableCache = Caffeine.newBuilder()
|
private val enchantableCache = Caffeine.newBuilder()
|
||||||
.expireAfterWrite(5, TimeUnit.SECONDS)
|
.expireAfterAccess(5, TimeUnit.SECONDS)
|
||||||
.build<HashedItem, Boolean>()
|
.build<HashedItem, Boolean>()
|
||||||
|
Loading…
Reference in New Issue
Block a user