Another batch of preemptive bugfixing

This commit is contained in:
ceikry
2021-07-26 07:33:07 -05:00
parent b151cb852b
commit 1b7c2914cb
19 changed files with 84 additions and 84 deletions
@@ -358,7 +358,7 @@ object RegionManager {
val region = forId(regionId)
Region.load(region)
val `object`: Scenery? = region.planes[z].getChunkObject(x, y, objectId)
return if (`object` != null && !`object`.isRenderable()) {
return if (`object` != null && !`object`.isRenderable) {
null
} else `object`
}