mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-10-25 20:22:27 +00:00
[Memory-opti:fix leak] fix world client leak in renderer (#44)
Co-authored-by: boubou19 <miisterunknown@gmail.com>
This commit is contained in:
1 parent
d3054211db
commit
15298cb677
1 file changed
+3
-1
@@ -85,7 +85,9 @@ object MultipartRenderer
|
||||
val state = CCRenderState.instance
|
||||
state.resetInstance()
|
||||
state.lightMatrix.locate(world, x, y, z)
|
||||
return tmpart.renderStatic(new Vector3(x, y, z), pass)
|
||||
val b = tmpart.renderStatic(new Vector3(x, y, z), pass)
|
||||
state.lightMatrix.access = null
|
||||
b
|
||||
}
|
||||
|
||||
override def renderInventoryBlock(
|
||||
|
||||
Reference in new issue
Block a user