Skip to content
Snippets Groups Projects
Commit 12395681 authored by Gnacik's avatar Gnacik
Browse files

JAVA: Little fix for .lang handler

parent 942091aa
No related branches found
No related tags found
No related merge requests found
......@@ -68,10 +68,14 @@ public class Lang implements IVoicedCommandHandler
if (activeChar.setLang(lang))
{
msg.setFile(activeChar.getHtmlPrefix(), "data/html/mods/Lang/Ok.htm");
activeChar.sendPacket(msg);
return true;
}
else
{
msg.setFile(activeChar.getHtmlPrefix(), "data/html/mods/Lang/Error.htm");
activeChar.sendPacket(msg);
}
}
return false;
......
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