@KarimAKL you are the best :) Thanks to everyone for help
@caderapee I added check for itemMeta and still same error ;/
Oh, I didn't think about it. Good idea. @timtower I added customnames to list and statement is shorter, but I can't reapir null pointer. Error...
Ok, I will try debug it. Btw. I don't have any idea how to shorten this statement. How my plugin works: When I put two Items with custom name into...
I have a problem with null pointer. if(elo[11] != null && elo[15] !=null) { ItemStack itemek1 = elo[11]; ItemStack itemek2 = elo[15];...
Separate names with a comma.