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