The code after I removed all of the return; or the one I have right now ?
Now I have made up all the returns again, since they are not the problem.
Maybe I shall just make another little plugin so it will implement this...
Its not because of the returns, I have already checked it.
If I am getting you right, you want chat colors using this : "&", symbol right ?
So you can use :
String stringworld = getConfig().getString("path.world");
World world = getServer().getWorld(stringworld);
// I wrote it right here, so it might...
You can use :
At least I think that's how you do it.
Lets focus on this part of you quote :
"this nice "if pyramid' can be done by using the &&"
You know, I know some Java, it took me time to...
Yes, I know what return means.
But this is not the point. ( Thanks for the tips though :) )
Because the second event still works If I open that...
I can not post the whole class because it is more than 1000 lines....
If you mean that I added it to test, then yes.
Okay, so I got this now :
BOTH events are just not working for the second inventory at all for some reason.
I placed a...
I don't know, something really strange is happening.
No, I can not. Because this problem is not solved.
If I fire second inventory event first it works fine.
If I fire it after first inventory event...
Yes it does.
I was testing such things many many times.
Every part of the code works
I checked already and it all works fine. It is really strange why this won't work.
If anybody has any idea why this happens.
Thanks timtower for...
Separate names with a comma.