Jump to content
  • 0

Java error!


Question

Posted

Hey mxcrs!

I tried to add this mod in my server:

http://www.maxcheaters.com/forum/index.php?topic=78081.0

 

but i got an error here:

+                           if (onlinePlayer.isOnline() == 1)

 

why is that guys?

i tried to compile and it faild because of this error!

please help me!

 

My server is l2jserver/freya.

5 answers to this question

Recommended Posts

  • 0
Posted

Edit your first post to add the FULL error.

 

Btw, this check == 1 can be removed.

 

if (onlinePlayer.isOnline())

is  normally enough.

 

well i did it and the error is gone!

but, is it goind to work?

  • 0
Posted

When you do this sort of check you haven't to put == 1, because isOnline give back his own answer.

 

Well if it's not clear, just test and if it works be happy... Lol.

 

If not, edit your first post and add the error.

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...