Fixed Resolute Ivy not working. Closes #1991

This commit is contained in:
Vasco Lavos committed 2016-10-29 21:06:25 +01:00
1 parent 936f02ffc9
commit bca9d6e7fa
1 file changed
+1 -2
@@ -44,7 +44,7 @@ public class ItemKeepIvy extends ItemMod {
}
@SubscribeEvent
public void onPlayerDrops(PlayerDropsEvent event) {
public static void onPlayerDrops(PlayerDropsEvent event) {
List<EntityItem> 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());