mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-13 18:11:26 +01:00
Fix drop issues in some cases where mobs don't drop loot
This commit is contained in:
parent
8a31f3e0c2
commit
98e03a2861
@ -66,7 +66,7 @@ public class DropUtils {
|
||||
}
|
||||
|
||||
private static void dropItems(List<ItemStack> items, EntityDeathEvent event) {
|
||||
if (SongodaCore.isRegistered("UltimateStacker")) {
|
||||
if (Bukkit.getPluginManager().isPluginEnabled("UltimateStacker")) {
|
||||
List<StackedItem> stacks = new ArrayList<>();
|
||||
int maxSize = UltimateStackerApi.getSettings().getMaxItemStackSize() - 64;
|
||||
for (ItemStack item : items) {
|
||||
|
Loading…
Reference in New Issue
Block a user