Fixed null stack in plantable harvest handler

This commit is contained in:
Nicholas Ignoffo 2017-03-28 19:07:16 -07:00
parent 487c7e4aa3
commit ed59c4633e

View file

@ -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)