gorbb / QwickTree

https://dev.bukkit.org/projects/qwicktree
GNU General Public License v3.0
1 stars 1 forks source link

Replanting taking saplings from drops when there are no drops #10

Closed gorbb closed 6 years ago

gorbb commented 6 years ago

Line 443 in ChopAction shows saplings being assigned from the drop list. However, if the configuration has removed sapling drops (or the odds are against us), then replant doesn't work.

The replant action should look to see if enough items were dropped and use the player's inventory as an alternative if out of saplings.

gorbb commented 6 years ago

Issue fixed in latest commit