Skip to content

Commit 5115e86

Browse files
committed
oops
1 parent 635de09 commit 5115e86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rebar/src/main/kotlin/io/github/pylonmc/rebar/block/BlockListener.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ internal object BlockListener : MultiListener {
144144
return
145145
}
146146

147-
val blockPdc = RebarBlock.serialize(rebarBlock, block.chunk.persistentDataContainer.adapterContext)
147+
val blockPdc = RebarBlock.serialize(rebarBlock, block.chunk.persistentDataContainer.adapterContext) ?: return
148148
val fallingEntity = RebarFallingBlock.RebarFallingBlockEntity(
149149
rebarBlock.schema,
150150
blockPdc,

0 commit comments

Comments
 (0)