mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-07 19:19:32 +01:00
Fixed drops for non stacked entities.
This commit is contained in:
parent
7d6b71008b
commit
bfded0caff
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user