We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 635de09 commit 5115e86Copy full SHA for 5115e86
rebar/src/main/kotlin/io/github/pylonmc/rebar/block/BlockListener.kt
@@ -144,7 +144,7 @@ internal object BlockListener : MultiListener {
144
return
145
}
146
147
- val blockPdc = RebarBlock.serialize(rebarBlock, block.chunk.persistentDataContainer.adapterContext)
+ val blockPdc = RebarBlock.serialize(rebarBlock, block.chunk.persistentDataContainer.adapterContext) ?: return
148
val fallingEntity = RebarFallingBlock.RebarFallingBlockEntity(
149
rebarBlock.schema,
150
blockPdc,
0 commit comments