Don't scroll any possible item variant this fast
This commit is contained in:
parent
071d831005
commit
104ceaf0a4
@ -24,6 +24,7 @@ import ru.dbotthepony.mc.otm.core.getCompoundList
|
|||||||
import ru.dbotthepony.mc.otm.core.nonEmpty
|
import ru.dbotthepony.mc.otm.core.nonEmpty
|
||||||
import ru.dbotthepony.mc.otm.core.registryName
|
import ru.dbotthepony.mc.otm.core.registryName
|
||||||
import ru.dbotthepony.mc.otm.core.set
|
import ru.dbotthepony.mc.otm.core.set
|
||||||
|
import ru.dbotthepony.mc.otm.milliTime
|
||||||
import ru.dbotthepony.mc.otm.nanoTime
|
import ru.dbotthepony.mc.otm.nanoTime
|
||||||
import ru.dbotthepony.mc.otm.network.FieldSynchronizer
|
import ru.dbotthepony.mc.otm.network.FieldSynchronizer
|
||||||
import ru.dbotthepony.mc.otm.registry.MRegistry
|
import ru.dbotthepony.mc.otm.registry.MRegistry
|
||||||
@ -348,7 +349,7 @@ class AndroidResearch(val type: AndroidResearchType, val capability: MatteryPlay
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val chooseItem = tag.items[((nanoTime / 300_000_000L).absoluteValue % tag.items.size).toInt()]
|
val chooseItem = tag.items[((milliTime / 800L).absoluteValue % tag.items.size).toInt()]
|
||||||
val suffix = if (tag.items.size > 1) "_any" else ""
|
val suffix = if (tag.items.size > 1) "_any" else ""
|
||||||
|
|
||||||
if (required > 0) {
|
if (required > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user