Closed Chew closed 4 years ago
Not game breaking, as you can place a block and mine it and it'll work just fine. But what if you can't place a block?
There are two fixes for this:
Leaves#setPersistent(boolean)
.LeavesDecayEvent
and cancel it (just be wary with that one, as BentoBox also handles it here).I will make them not decay, but just FYI there is a fail safe which is to die. You then get a cobblestone block. :-)
Ah cool, built in failsafe then :)
f1a6fa340974801910ecbca430be894fde4dbe88 Done.
Description
Describe the bug
Once a leaves block generates from a magic block, it can decay, leaving a hole as well as a hard time to find it. (Really a problem if it decays before you place any blocks)
Steps to reproduce the behavior
1) Break magic block until a leaves block shows up. 2) Wait.
Expected behavior
Not sure, probably for it to not decay.
Screenshots and videos (Optional)
Environment
BentoBox Version (Mandatory)
Plugins (Optional)
Additional context (Optional)