mirror of
https://github.com/songoda/UltimateKits.git
synced 2024-11-02 16:49:34 +01:00
fix
This commit is contained in:
parent
834d5dffa5
commit
314747ccc1
@ -20,7 +20,7 @@ public final class KitManager {
|
||||
}
|
||||
|
||||
public void removeLocationsFromKit(Kit kit) {
|
||||
for (Map.Entry<Location, KitBlockData> entry : kitsAtLocations.entrySet()) {
|
||||
for (Map.Entry<Location, KitBlockData> entry : new ArrayList<>(kitsAtLocations.entrySet())) {
|
||||
if (entry.getValue().getKit() == kit) {
|
||||
entry.getValue().reset();
|
||||
kitsAtLocations.remove(entry.getKey());
|
||||
|
Loading…
Reference in New Issue
Block a user