Skip to content

Commit

Permalink
Fix untranslated 'disconnect.eggolib.missing' text
Browse files Browse the repository at this point in the history
  • Loading branch information
eggohito committed Aug 2, 2022
1 parent 49892f3 commit 488179f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private static void handleHandshakeReply(MinecraftServer minecraftServer, Server

}

else serverLoginNetworkHandler.disconnect(Text.translatable("disconnect.eggolib.missing", Eggolib.version));
else serverLoginNetworkHandler.disconnect(Text.translatable("This server requires you to install Eggolib (v%s) to join.", Eggolib.version));

}

Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/eggolib/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"death.attack.eggolib.change_health.underflow": "%1$s died",
"death.attack.eggolib.change_health.underflow.player": "%1$s died whilst trying to run away from %2$s",
"disconnect.eggolib.missing": "This server requires you to install Eggolib (v%s) to join.",
"disconnect.eggolib.version_mismatch": "This server is running a different version of Eggolib (v%1$s) which is incompatible with the one you have installed (v%2$s)"
}

0 comments on commit 488179f

Please sign in to comment.