Browse Source

moderator's chat ban typo fix

BiggBoss 11 years ago
parent
commit
88153b499d

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/handlers/voicedcommandhandlers/ChatAdmin.java

@@ -98,7 +98,7 @@ public class ChatAdmin implements IVoicedCommandHandler
 						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());
 					
 					if (expirationTime > 0)