Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
[ATTACH] Your target is null. Check if target in online and than get value from map (showed with an arrow where to check)
[ATTACH] PatenteCommand, line 115 paste here
Literally translated: your target is null
You must check here [ATTACH]
You must check if the player is online Example check: if(target == null || !target.isOnline()) { // target offline return false; }
Paste the error to see what the problem is
You must check if the player is online [ATTACH] if(target == null || !target.isOnline()) { // target offline return false; }