Skip to content

Commit

Permalink
fix: correct message key in PardonIpCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Dec 22, 2024
1 parent 98e0b86 commit a665219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_core/command/defaults/pardon_ip_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ bool PardonIpCommand::execute(CommandSender &sender, const std::vector<std::stri
return true;
}

sender.sendMessage(Translatable{"commands.ununban.success", {entry->getAddress()}});
sender.sendMessage(Translatable{"commands.unbanip.success", {entry->getAddress()}});
ban_list.removeBan(address);
return true;
}
Expand Down

0 comments on commit a665219

Please sign in to comment.