From c06c3637fe2594014cac3753811c19e67f16c4ce Mon Sep 17 00:00:00 2001 From: PhanaticD Date: Mon, 21 Jan 2019 03:56:51 -0500 Subject: [PATCH] another try at fixing CME in metalclips --- .../projectkorra/earthbending/metal/MetalClips.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/com/projectkorra/projectkorra/earthbending/metal/MetalClips.java b/src/com/projectkorra/projectkorra/earthbending/metal/MetalClips.java index 819fd598..75111116 100644 --- a/src/com/projectkorra/projectkorra/earthbending/metal/MetalClips.java +++ b/src/com/projectkorra/projectkorra/earthbending/metal/MetalClips.java @@ -436,15 +436,13 @@ public class MetalClips extends MetalAbility { this.dropIngots(e.getLocation(), ii.getItemStack().getAmount()); this.remove(); } - + it.remove(); ii.remove(); break; } } } } - - this.removeDeadIngots(); } public void dropIngots(final Location loc) { @@ -456,10 +454,6 @@ public class MetalClips extends MetalAbility { i.setPickupDelay(61); } - public void removeDeadIngots() { - this.trackedIngots.removeIf((Item item) -> item.isDead()); - } - @Override public void remove() { super.remove();