From bfded0caff3a24a50999cd8116b8b854a411762e Mon Sep 17 00:00:00 2001 From: Brianna Date: Wed, 14 Aug 2019 11:41:40 -0400 Subject: [PATCH] Fixed drops for non stacked entities. --- .../com/songoda/ultimatestacker/listeners/DeathListeners.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/songoda/ultimatestacker/listeners/DeathListeners.java b/src/main/java/com/songoda/ultimatestacker/listeners/DeathListeners.java index 6df42b0..fd95e42 100644 --- a/src/main/java/com/songoda/ultimatestacker/listeners/DeathListeners.java +++ b/src/main/java/com/songoda/ultimatestacker/listeners/DeathListeners.java @@ -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); } }