Skip to content

Commit

Permalink
Update ButcherAndroidListener.java
Browse files Browse the repository at this point in the history
Fixed bug with emerald drop from vindicators when killed by Butcher Android
  • Loading branch information
Kub94ekCZ authored Oct 25, 2023
1 parent 7a8780b commit 82b8967
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,9 @@ private void addExtraDrops(List<ItemStack> drops, EntityType entityType) {
if (entityType == EntityType.BLAZE) {
drops.add(new ItemStack(Material.BLAZE_ROD, 1 + random.nextInt(1)));
}

if (entityType == EntityType.VINDICATOR) {
drops.add(new Itemstack(Material.EMERALD, 1 + random.nextInt(2)));
}
}
}

0 comments on commit 82b8967

Please sign in to comment.