Jump to content
  • 0

LastHero event erros in compiling.


Question

Posted

Hello MxC, i got the following problem.

 

Code

                for (String nm : players)
                {
                   L2PcInstance i = L2World.getInstance().getPlayer(nm);
                   if (i != null && i.isOnline() == 1)
                   {
                      i.getAppearance().setVisible();
                      i.broadcastStatusUpdate();
                      i.broadcastUserInfo();
                   }
                }

 

 

The operator == is undefined for the argument type(s) boolean, int LastHero.java /L2J_DataPack/dist/game/data/scripts/custom/LastHero line 102 Java Problem

 

 

What i want to ask is what is my wrong that i have done here?

Is there a place in my code that havent targeted it as Int?

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...