Skip to content

Commit 1b878ec

Browse files
authored
Merge pull request #1165 from Fragger/revert-punish-message-u18h3
Revert "Send message when punished U18-hotfix workaround"
2 parents dedadaf + 29cf796 commit 1b878ec

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rcon/rcon.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,6 @@ def ban_profanities(self, profanities: list[str]) -> bool:
10151015
return super().ban_profanities(",".join(profanities))
10161016

10171017
def punish(self, player_id: str, reason: str, by: str, player_name: str | None = None) -> bool:
1018-
super().message_player(player_id, "PUNISHED BY THE ADMINISTRATOR\n\n" + reason)
10191018
res = super().punish(player_id, reason)
10201019
safe_save_player_action(
10211020
player_id=player_id,

0 commit comments

Comments
 (0)