mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
[Bleeding] Fixed dropping invalid Magma Creams. Fixes BUKKIT-1336
This commit is contained in:
@@ -48,8 +48,10 @@ public class EntityMagmaCube extends EntitySlime {
|
||||
k += this.random.nextInt(i + 1);
|
||||
}
|
||||
|
||||
if (k > 0) {
|
||||
loot.add(new org.bukkit.inventory.ItemStack(j, k));
|
||||
}
|
||||
}
|
||||
|
||||
CraftEventFactory.callEntityDeathEvent(this, loot);
|
||||
// CraftBukkit end
|
||||
|
Reference in New Issue
Block a user