Skip to content

Commit

Permalink
Fix cancel game message incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthegreat1 committed Jun 21, 2023
1 parent d17eea7 commit fa1285a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/me/xmrvizzy/skyblocker/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public static String getMap() {
public static void init() {
ClientPlayConnectionEvents.JOIN.register(Utils::onClientWorldJoin);
ClientReceiveMessageEvents.ALLOW_GAME.register(Utils::onChatMessage);
ClientReceiveMessageEvents.GAME_CANCELED.register(Utils::onChatMessage); // Somehow this works even though onChatMessage returns a boolean
}

/**
Expand Down

0 comments on commit fa1285a

Please sign in to comment.