aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
diff options
context:
space:
mode:
authorIlmarsXd <74308163+IlmarsXd@users.noreply.github.com>2023-12-23 15:25:29 +0200
committerGitHub <noreply@github.com>2023-12-23 14:25:29 +0100
commitcdac22ba4543d16445148fe77e7adca08163ef54 (patch)
treec4ed8e0722cfb2eafebb1dfa525f97c4f154844a /src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
parent81a78588acd3fe8db9d042fe2b497037170f37bf (diff)
downloadnotenoughupdates-cdac22ba4543d16445148fe77e7adca08163ef54.tar.gz
notenoughupdates-cdac22ba4543d16445148fe77e7adca08163ef54.tar.bz2
notenoughupdates-cdac22ba4543d16445148fe77e7adca08163ef54.zip
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
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java1
1 files changed, 1 insertions, 0 deletions
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()