I'm making a /break command which's purpose is to set the item durability in a player's hand to 1. But for some reason it keeps sending the error message I set on the end of the code. It should only send it if the item the player is holding has no durability, but it always sends it no matter what i hold in my hand. the java code is in the txt.
#Spigot plugin development issue
5 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @icy eagle! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
still not solved pls help