When I use this code it doesn't even check if you have 4 ingots or not. Here is my code: package me.gladiator.betraysmp.events; import...
I did that but it still says gives me the message, "You need 4 Betray Ingots to craft a token."
Hello I am trying to check if player has 4 or more of an Item Stack then let them click an item in the GUI and get it. The GUI works. My if...
Thank you so much!
Sry but should I do, event.getPlayer().getInventory().getItemInMainHand().getItemMeta().equals(BetrayIngot))
Oh ok so then what should I call? So what function should I call? EDIT by Moderator: merged posts, please use the edit button instead of double...
done
I want to open a GUI after right clicked a netherite ingot that has a custom name and lore. Why doesn't this work? My code so far: package...
Separate names with a comma.