mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
more cleanup regarding fireRecalculateEvent
This commit is contained in:
@@ -69,6 +69,8 @@ object LightmapRenderer {
|
||||
}
|
||||
finally {
|
||||
this.world = world
|
||||
|
||||
// fireRecalculateEvent()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -214,7 +216,7 @@ object LightmapRenderer {
|
||||
}
|
||||
catch (e: NullPointerException) {
|
||||
System.err.println("[LightmapRendererNew.fireRecalculateEvent] Attempted to refer destroyed unsafe array " +
|
||||
"(${world.layerTerrain.getPtr()})")
|
||||
"(${world.layerTerrain.ptr})")
|
||||
e.printStackTrace()
|
||||
return // something's wrong but we'll ignore it like a trustful AK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user