Skip to content

Commit

Permalink
Eh
Browse files Browse the repository at this point in the history
  • Loading branch information
xwertxy committed Dec 6, 2023
1 parent b8914fa commit 6980834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReinfyTeam/ProfanityFilter/EventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function onChat(PlayerChatEvent $event) : void {
$player->getServer()->getNameBans()->addBan($player->getName(), "Profanity", $this->duration[0], $player->getServer()->getName());
$player->kick(InfoAPI::render($this->plugin, PluginUtils::colorize($this->plugin->getConfig()->get("kick-message")), [
"player" => $player,
"type" => $punishType . "ed",
"type" => $punishType . "ned",
], $player));
$this->plugin->getLogger()->warning(InfoAPI::render($this->plugin, PluginUtils::colorize($this->plugin->getConfig()->get("ban-warning-message")), [
"player" => $player,
Expand Down

0 comments on commit 6980834

Please sign in to comment.