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 : ChatColor.AlternateColorCodes('&', "&6This...
String stringworld = getConfig().getString("path.world"); World world = getServer().getWorld(stringworld); // I wrote it right here, so it might...
You can use : player.removePotionEffect() 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.... @SuppressWarnings("deprecation") @EventHandler public void...
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...
To equalsIgnoreCase.
They are in the same class. The checks are doing everything normally. And good. I placed else statement to check that. But if I inverted those...
The title is the same, the event IS registered, the event is running and it seems to work if I am running the second inventory event first.
As already said, I have moved it back & forth, and again back & forth but nothing seemed to change. Also, I have placed an else statements for...
Hello community. Today something very strange happened to me. I am trying to figure this out all day but I have no idea why this happens. The...
Separate names with a comma.