Fixed ConcurrentModificationException when saving the world