Move the iterator remove down

This commit is contained in:
Nassim Jahnke 2024-08-29 19:45:43 +02:00
parent db47040543
commit 678775ab9d
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -114,8 +114,8 @@ public class StructuredEnchantmentRewriter {
}
loreToAdd.add(description);
iterator.remove();
}
iterator.remove();
}
// Remove all first, then add the new ones