Fixes #4648: Inverted logic for the annihilation plane dropping no items. (#4649)

This commit is contained in:
shartte
2020-08-28 16:28:34 +02:00
committed by GitHub
parent faa00cd894
commit 98b758e6f9
@@ -402,7 +402,7 @@ public class AnnihilationPlanePart extends BasicStatePart implements IGridTickab
ItemStack harvestTool = createHarvestTool(state);
if (harvestTool == null) {
if (!state.getMaterial().isToolNotRequired()) {
if (state.getMaterial().isToolNotRequired()) {
harvestTool = ItemStack.EMPTY;
} else {
// In case the block does NOT allow us to harvest it without a tool, or the