more cleanup regarding fireRecalculateEvent

This commit is contained in:
minjaesong
2019-06-25 22:48:38 +09:00
parent ed58e72724
commit 04ea9aec42
7 changed files with 12 additions and 21 deletions

View File

@@ -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
}