Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restyle 1.7-final ItemFocusDislocation error handling (#1053)
* Prevents crashing and block deletion when using Wand Focus: Dislocation on some poorly-coded blocks Previously, when Wand Focus: Dislocation was used to pick up certain blocks (mostly blocks whose breakBlock functions assume the block's tile entity exists and is valid), the game would crash and the block would be destroyed. Now, instead of crashing, the game logs the relevant information and otherwise "fails silently". This may have some purely-visual side-effects, but the crash has been fixed. * Restyled by clang-format Co-authored-by: SarahKirksey <[email protected]> Co-authored-by: Restyled.io <[email protected]>
- Loading branch information