registries: properly update water and lava

This commit is contained in:
Bixilon 2023-05-31 20:31:59 +02:00
parent 2ee51a76e7
commit 5f4aaf0966
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -139,6 +139,7 @@ class Registries(
set(value) {
field = value
this.setParent(value)
fluid.updateWaterLava()
}
fun getEntityDataIndex(field: EntityDataField): Int? {
@ -227,6 +228,7 @@ class Registries(
if (cleanup) {
shape.cleanup()
}
fluid.updateWaterLava()
Log.log(LogMessageType.VERSION_LOADING, LogLevels.INFO) { "Registries for $version loaded in ${stopwatch.totalTime()}" }
}