Fixed null stack in plantable harvest handler
This commit is contained in:
parent
487c7e4aa3
commit
ed59c4633e
|
@ -46,7 +46,7 @@ public class HarvestHandlerPlantable implements IHarvestHandler
|
|||
|
||||
for (ItemStack stack : drops)
|
||||
{
|
||||
if (stack == null)
|
||||
if (stack.isEmpty())
|
||||
continue;
|
||||
|
||||
if (stack.getItem() instanceof IPlantable)
|
||||
|
|
Loading…
Reference in a new issue