mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 03:44:54 -04:00
fix culling when block as a block model (not state)
That fixes culling between/with grass blocks
This commit is contained in:
parent
e76b844747
commit
9d3681ed14
@ -25,7 +25,7 @@ object FaceCulling {
|
||||
if (neighbour == null) return false
|
||||
if (properties == null) return false
|
||||
|
||||
val model = neighbour.model ?: return false
|
||||
val model = neighbour.model ?: neighbour.block.model ?: return false
|
||||
val neighbourProperties = model.getProperties(direction) ?: return false // not touching side
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user