mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 11:54:59 -04:00
registries: properly update water and lava
This commit is contained in:
parent
2ee51a76e7
commit
5f4aaf0966
@ -139,6 +139,7 @@ class Registries(
|
|||||||
set(value) {
|
set(value) {
|
||||||
field = value
|
field = value
|
||||||
this.setParent(value)
|
this.setParent(value)
|
||||||
|
fluid.updateWaterLava()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getEntityDataIndex(field: EntityDataField): Int? {
|
fun getEntityDataIndex(field: EntityDataField): Int? {
|
||||||
@ -227,6 +228,7 @@ class Registries(
|
|||||||
if (cleanup) {
|
if (cleanup) {
|
||||||
shape.cleanup()
|
shape.cleanup()
|
||||||
}
|
}
|
||||||
|
fluid.updateWaterLava()
|
||||||
Log.log(LogMessageType.VERSION_LOADING, LogLevels.INFO) { "Registries for $version loaded in ${stopwatch.totalTime()}" }
|
Log.log(LogMessageType.VERSION_LOADING, LogLevels.INFO) { "Registries for $version loaded in ${stopwatch.totalTime()}" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user