Skip to content
Snippets Groups Projects
Commit 88153b49 authored by BiggBoss's avatar BiggBoss
Browse files

moderator's chat ban typo fix

parent d7b3f157
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ public class ChatAdmin implements IVoicedCommandHandler ...@@ -98,7 +98,7 @@ public class ChatAdmin implements IVoicedCommandHandler
return false; return false;
} }
PunishmentManager.getInstance().startPunishment(new PunishmentTask(objId, PunishmentAffect.CHARACTER, PunishmentType.JAIL, expirationTime, "Chat banned by moderator", activeChar.getName())); PunishmentManager.getInstance().startPunishment(new PunishmentTask(objId, PunishmentAffect.CHARACTER, PunishmentType.CHAT_BAN, expirationTime, "Chat banned by moderator", activeChar.getName()));
player.sendMessage("Chat banned by moderator " + activeChar.getName()); player.sendMessage("Chat banned by moderator " + activeChar.getName());
if (expirationTime > 0) if (expirationTime > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment