Fixed drops for non stacked entities.

This commit is contained in:
Brianna 2019-08-14 11:41:40 -04:00
parent 7d6b71008b
commit bfded0caff

View File

@ -38,5 +38,7 @@ public class DeathListeners implements Listener {
if (instance.getEntityStackManager().isStacked(event.getEntity()))
instance.getEntityStackManager().getStack(event.getEntity())
.onDeath(event.getEntity(), drops, custom, event.getDroppedExp());
else
DropUtils.processStackedDrop(event.getEntity(), drops);
}
}