Add missing Herbalism entries to config

This commit is contained in:
nossr50
2019-03-29 17:57:48 -07:00
parent 9568c0f85c
commit dc4401ffb0
3 changed files with 11 additions and 1 deletions

View File

@ -70,11 +70,15 @@ public class BlockListener implements Listener {
continue;
if(event.getBlock().getState().getMetadata(mcMMO.doubleDrops).size() > 0)
{
event.getBlock().getState().getWorld().dropItemNaturally(event.getBlockState().getLocation(), is);
event.getBlock().getState().removeMetadata(mcMMO.doubleDrops, plugin);
}
else if(event.getBlock().getState().getMetadata(mcMMO.tripleDrops).size() > 0)
{
event.getBlock().getState().getWorld().dropItemNaturally(event.getBlockState().getLocation(), is);
event.getBlock().getState().getWorld().dropItemNaturally(event.getBlockState().getLocation(), is);
event.getBlock().getState().removeMetadata(mcMMO.tripleDrops, plugin);
}
}
}