Skip to content

Commit

Permalink
fix permission check on join
Browse files Browse the repository at this point in the history
  • Loading branch information
tudubucket committed Mar 9, 2024
1 parent deefefc commit a4dfa5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void checkNonWhitelisted(Player player, String type, String data) {
player.kickPlayer(ChatColor.translateAlternateColorCodes('&', getConfigMessage("messages.kick.unknown-admin", player.getName(), Objects.toString(player.getAddress()))));
sendAnnouncement(getConfigMessage("messages.integration.unknown-admin", player.getName(), Objects.toString(player.getAddress())));
String ftype = "";
if (type.equals("LOGIN")) {
if (type.equals("JOIN")) {
ftype = "login";
}
else if (type.equals("COMMAND_PRE_PROCESS")) {
Expand Down

0 comments on commit a4dfa5c

Please sign in to comment.