mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-08 03:21: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()))
|
if (instance.getEntityStackManager().isStacked(event.getEntity()))
|
||||||
instance.getEntityStackManager().getStack(event.getEntity())
|
instance.getEntityStackManager().getStack(event.getEntity())
|
||||||
.onDeath(event.getEntity(), drops, custom, event.getDroppedExp());
|
.onDeath(event.getEntity(), drops, custom, event.getDroppedExp());
|
||||||
|
else
|
||||||
|
DropUtils.processStackedDrop(event.getEntity(), drops);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user