dont panic when trying to interact with a block that has no blockentity attached #48

Closed
opened 2026-01-21 16:10:09 +01:00 by thetxt · 1 comment
Owner

thread '' (8) panicked at server/src/tickloop/packet_handler_actions.rs:410:133:
server-1 | called Result::unwrap() on an Err value: BlockEntityNotFoundAtLocation(BlockPosition { x: 47, y: 67, z: 13 })

happens when trying to interact with a block that has no blockentity attached, even though it should have one. handle gracefully somehow, probably by just creating the blockentity or not doing anything

thread '<unnamed>' (8) panicked at server/src/tickloop/packet_handler_actions.rs:410:133: server-1 | called `Result::unwrap()` on an `Err` value: BlockEntityNotFoundAtLocation(BlockPosition { x: 47, y: 67, z: 13 }) happens when trying to interact with a block that has no blockentity attached, even though it should have one. handle gracefully somehow, probably by just creating the blockentity or not doing anything
thetxt added this to the 0.5.0 milestone 2026-01-21 16:10:09 +01:00
thetxt referenced this issue from a commit 2026-02-03 17:34:14 +01:00
Author
Owner

fixed in 0.5.0

fixed in 0.5.0
Sign in to join this conversation.
No description provided.