Skip to content
Snippets Groups Projects
Commit 63dee163 authored by Rumen Nikiforov's avatar Rumen Nikiforov
Browse files

BETA: Typo fix

parent 116871fe
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ public class AdminSkill implements IAdminCommandHandler
else if (command.equals("admin_remove_all_skills"))
{
final L2Object target = activeChar.getTarget();
if ((target == null) || target.isPlayer())
if ((target == null) || !target.isPlayer())
{
activeChar.sendPacket(SystemMessageId.INCORRECT_TARGET);
return false;
......@@ -207,7 +207,7 @@ public class AdminSkill implements IAdminCommandHandler
private void adminGiveAllSkills(L2PcInstance activeChar, boolean includedByFs)
{
final L2Object target = activeChar.getTarget();
if ((target == null) || target.isPlayer())
if ((target == null) || !target.isPlayer())
{
activeChar.sendPacket(SystemMessageId.INCORRECT_TARGET);
return;
......
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