mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Fixed Resolute Ivy not working. Closes #1991
This commit is contained in:
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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user