Skip to content

Commit

Permalink
fix vertical_half
Browse files Browse the repository at this point in the history
  • Loading branch information
olebeck committed Jul 25, 2024
1 parent 7e7eeb0 commit be3b7c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dragonfly
5 changes: 4 additions & 1 deletion handlers/worlds/packets.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ func (w *worldsHandler) packetCB(_pk packet.Packet, toServer bool, timeReceived
for _, be := range pk.Blocks {
w.serverState.behaviorPack.AddBlock(be)
}
world.AddCustomBlocks(w.serverState.blocks, pk.Blocks)
err := world.AddCustomBlocks(w.serverState.blocks, pk.Blocks)
if err != nil {
return nil, err
}
w.serverState.customBlocks = pk.Blocks
}
w.serverState.blocks.Finalize()
Expand Down

0 comments on commit be3b7c3

Please sign in to comment.