mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-13 17:37:58 -04:00
entity renderer: don't call millis for every entity
Not 10000% correct now, but should do the trick
This commit is contained in:
parent
29de011f14
commit
a98b21b38b
@ -108,8 +108,9 @@ class EntityRenderer(
|
||||
override fun prePrepareDraw() {
|
||||
val count = AtomicInteger()
|
||||
val reset = reset
|
||||
val millis = millis()
|
||||
runAsync {
|
||||
it.entity.draw(millis())
|
||||
it.entity.draw(millis)
|
||||
if (reset) {
|
||||
it.reset()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user