Skip to content

Commit

Permalink
Fixed crash when leaving servers/realms while Update World Icon was on
Browse files Browse the repository at this point in the history
  • Loading branch information
Minenash committed Feb 10, 2021
1 parent 97f1e35 commit 2fb1392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ org.gradle.jvmargs=-Xmx1G
fabric_version=0.30.0+1.16

# Mod Properties
mod_version = 1.3.0
mod_version = 1.3.1
maven_group = com.minenash
archives_base_name = seamless-loading-screen
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void render(MatrixStack matrices, int _mouseX, int _mouseY, float _delta)
e.printStackTrace();
}

if (Config.updateWorldIcon)
if (Config.updateWorldIcon && client.isInSingleplayer())
updateIcon(client.getServer().getIconFile(), nativeImage);


Expand Down

0 comments on commit 2fb1392

Please sign in to comment.