Skip to content

Commit

Permalink
Dont send ack plugin message if check-proxy-response is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgeiss0702 committed Jun 3, 2024
1 parent f3e4a26 commit 2f297f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void onLeave(PlayerQuitEvent e) {

@EventHandler
public void onJoin(PlayerJoinEvent e) {
if(hasProxy) return;
if(hasProxy || !config.getBoolean("check-proxy-response")) return;
getScheduler().runTaskLaterAsynchronously(() -> sendMessage(e.getPlayer(), "ack", ""), 5);
}

Expand Down

0 comments on commit 2f297f4

Please sign in to comment.