From cdac22ba4543d16445148fe77e7adca08163ef54 Mon Sep 17 00:00:00 2001 From: IlmarsXd <74308163+IlmarsXd@users.noreply.github.com> Date: Sat, 23 Dec 2023 15:25:29 +0200 Subject: Fixed ConcurrentModificationException in Texture Manager (#974) * Fixed ConcurrentModificationException in Texture Manager caused by other mods and NEU loading a player on a different thread * Change comment * Add more info about issue --- .../io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java index 0011272f..d10acea9 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java @@ -471,6 +471,7 @@ public class BasicPage extends GuiProfileViewerPage { loadingProfile = true; UUID playerUUID = UUID.fromString(niceUuid(profile.getUuid())); + // Loads the player asynchronously profileLoader.submit(() -> { GameProfile fakeProfile = Minecraft .getMinecraft() -- cgit