I just realized that ItemStack#toString() returns something like id[amount, name] weird thing. I did getType().getString(), but still a NPE.
So I made a shop plugin that is on a sign, and there is a selling feature. The selling feature works, but not with damaged items, and I want...
Try replacing the dashes with ""
He get's the alert.
You tagged me and said it's most likely YOU"
Umm this isn't my problem xD. I am trying to help Elimnator.
No sometimes Eclipse doesn't save it correctly.
I do realize that, sometimes Eclipse glitched for me though and when I change the code it works. Assuming you're using Eclipse.
Try if (!v.isAdult())
So I have a plugin where you can place a block, (flowpot) and it protects a configured area. Now it works, it works great, but it loads a lot of...
I don't mean by "set to false" by like hasPlayedBefore() = false, what I mean is how do I basically make it so the player hasn't "played before"...
Enhanced for loop of the list of players, send message.
Also stop saving Player in a HashMap/ArrayList. It causes Memory Leaks. Use the Player name.
For if (e.getLine(1) != null) change null to ""
Did you register your events?
Separate names with a comma.