From bca9d6e7fa8ce7a6fdc14aa44ca5f9174d2de190 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Sat, 29 Oct 2016 21:06:25 +0100 Subject: [PATCH] Fixed Resolute Ivy not working. Closes #1991 --- src/main/java/vazkii/botania/common/item/ItemKeepIvy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/vazkii/botania/common/item/ItemKeepIvy.java b/src/main/java/vazkii/botania/common/item/ItemKeepIvy.java index 42ef06feb..195d0c484 100644 --- a/src/main/java/vazkii/botania/common/item/ItemKeepIvy.java +++ b/src/main/java/vazkii/botania/common/item/ItemKeepIvy.java @@ -44,7 +44,7 @@ public class ItemKeepIvy extends ItemMod { } @SubscribeEvent - public void onPlayerDrops(PlayerDropsEvent event) { + public static void onPlayerDrops(PlayerDropsEvent event) { List keeps = new ArrayList<>(); for(EntityItem item : event.getDrops()) { ItemStack stack = item.getEntityItem(); @@ -55,7 +55,6 @@ public class ItemKeepIvy extends ItemMod { if(keeps.size() > 0) { event.getDrops().removeAll(keeps); - NBTTagCompound cmp = new NBTTagCompound(); cmp.setInteger(TAG_DROP_COUNT, keeps.size());