mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-25 02:27:43 +01:00
Fixed ConcurrentModification on ConfigNode#remove
This commit is contained in:
parent
517c7f4498
commit
c4a0e18dd9
@ -126,8 +126,9 @@ public class ConfigNode {
|
||||
parent.nodeOrder.remove(key);
|
||||
updateParent(null);
|
||||
|
||||
for (ConfigNode child : childNodes.values()) {
|
||||
child.remove();
|
||||
for (String key : nodeOrder) {
|
||||
ConfigNode child = childNodes.get(key);
|
||||
if (child != null) child.remove();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user