- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
bullseye92
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 accountSign in
Already have an account? Sign in here.
Sign In Now