Skip to content

Commit e09f00a

Browse files
committed
suppressed logged cme
1 parent a94a9d6 commit e09f00a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/fast_reset/client/mixin/ResetMixin.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import org.spongepowered.asm.mixin.injection.Redirect;
1313

1414
import java.io.IOException;
15-
import java.util.Iterator;
15+
import java.util.*;
1616

1717
@Mixin(MinecraftServer.class)
1818
public class ResetMixin {
@@ -43,8 +43,7 @@ private boolean getWorldsInjectTwo(Iterator<ServerWorld> iterator){
4343
if (world != null) {
4444
try {
4545
world.close();
46-
} catch (IOException ignored) {
47-
46+
} catch (ConcurrentModificationException | IOException ignored) {
4847
}
4948
}
5049
}

0 commit comments

Comments
 (0)