Jump to content

can't figure out the problem with my client-sided methodes


Nxs0000

Recommended Posts

Hey,

 

I am working on a part of my mod which consist in rendering, on client side, some custom area.

What is needed to render those areas is sent through a channel ( I send the coordinates, the type of area, the size, ... )

 

Here comes my problem, the datas are recieved and correctly interpreted (I used some System.out.printl(thing) to watch is the treatement was correct). Once the datas a corectly understood, the client should create a ArrayList<Area> which contains all the areas Object (with the properties inside). But, when i call the list later, in another method in the same class (the list is part of the class), it appears empty.

 

Thanks to the Print I made, I saw that:

 

inside the method that create the list (method called when the packet is recieved), the Print return things like that:

 

[Netty Local Client IO #0/INFO] [sTDOUT]: [nxs.listManager:addToList:160]: area1

 

and in the other method, it return :

[Client thread/INFO] [sTDOUT]: [nxs.listManager:canBuild:73]: list emplty!!!

 

What is the problem ? What is the difference between those two?

[Netty Local Client IO #0/INFO] 
[Client thread/INFO]

Link to comment
Share on other sites

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.