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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock