fix extra utilities ender quarry freeze/soft-lock randomly #480
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes an issue where the Ender Quarry get stuck at a mostly random location and wont continue with anything (soft-lock). The only thing that works at this point is breaking the quarry. placing it and starting again from zero.
The source are a few blocks from mods that either drop nothing (having a few blocks in mind, but random mods) or mods that converts their blocks while harvesting (hello Underground Biomes Construct).
To prevent this issue we need to return
true
also in the following (so all available) scenario at the methodharvestBlock
:New possible effects:
Not tested in the full pack, might need to check someone else. I only tested in my own full pack.