Skip to content

Commit

Permalink
Disable reconnection prompt if installed on server.
Browse files Browse the repository at this point in the history
  • Loading branch information
IMB11 committed Jun 26, 2023
1 parent 8e4a157 commit db90099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected int renderIcon(DrawContext graphics, int mouseX, int mouseY, float del

SkinPresetManager.setChosenPreset(presetWidget.getPreset(), this.hasEditedPreset);

if(this.client.world != null) {
if(this.client.world != null && !ClientSkinHandling.isInstalledOnServer()) {
this.client.setScreen(new ConfirmScreen((boolean result) -> {
if(result) {
NetworkingUtil.handleReconnect(client);
Expand Down

0 comments on commit db90099

Please sign in to comment.