Skip to content

Commit

Permalink
chore: update strings
Browse files Browse the repository at this point in the history
  • Loading branch information
veryCrunchy committed Apr 10, 2024
1 parent 547b1be commit 9e63ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/co/greasygang/mixin/WhitelistMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private void interceptJoin(SocketAddress address, GameProfile profile, CallbackI
if (!WhitelistLinkConfig.isEnabled())
return;
String uuid = profile.getId().toString();
Text errorMessage = Text.of(6An error occurred whilst trying to validate your whitelist status.");
Text errorMessage = Text.of(6Could not connect to whitelist server.\nIf this issue persists, please contact §3verycrunchy §6on discord.");

// Check if the player is whitelisted
String whitelistCheckResponse = null;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/co/greasygang/utils/WhitelistLinkConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public static void init() {
Config configTemplate = new Config();

configTemplate.enabled = true;
configTemplate.login_url = "greasygang.co";
configTemplate.api_base = "https://greasygang.co";
configTemplate.login_url = "greasygang.co/whitelist";
configTemplate.api_base = "https://api.greasygang.co";
configTemplate.api_key = "";

writer.write(gson.toJson(configTemplate));
Expand Down

0 comments on commit 9e63ac7

Please sign in to comment.