From 82b89673d8bb8c4ae2fe792fb23f3d45c11d38d2 Mon Sep 17 00:00:00 2001 From: Kub94ekCZ <145360194+Kub94ekCZ@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:43:48 +0200 Subject: [PATCH] Update ButcherAndroidListener.java Fixed bug with emerald drop from vindicators when killed by Butcher Android --- .../implementation/listeners/ButcherAndroidListener.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java index 1432edd1dd..793698641a 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/ButcherAndroidListener.java @@ -88,5 +88,9 @@ private void addExtraDrops(List 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))); + } } }