mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
another try at fixing CME in metalclips
This commit is contained in:
parent
a1866b7c1c
commit
c06c3637fe
1 changed files with 1 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue