Ok, I have tried this in many ways but none work. Can you push me in the right direction of what I need to try to do? EDIT: Furthermore I have...
Hey there, I am creating a Custom Enchant plugin and all I need help with is when a player clicks a book on a item (all checks have been done) it...
Will use for later reference. Any help going back to what we were talking about?
package me.bradley.core; import java.util.ArrayList; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.Command;...
So say I do if(Material.EMERALD == null && player.getItemInHand().hasItemMeta(hb)){ It says 'hb cannot be resolved to a variable.' So how do I...
But, when I do player.getItemInHand.hasItemMeta(hb); it says hb cannot be resolved to a variable. How do I stop this?
But, how do I check if the item in hand is a emerald AND AT THE SAME TIME it has the same ItemMeta as hb?
I am still really confused on all of this code :/ like how do i check them 3 things and then how do I get the ItemMeta and the lore? I am really...
I am confused on how to get it to check if the lore is the same as hb, like what code checks that?
Ok, figured it out.
Thank you so much it was the first thing you said! Also how do I use the item 'hb' so when a player right clicks it they get 2 extra hearts.
Hey there, I am having problems with my plugin not loading on my server. I have looked for all the common mistakes and can't seem to find any. I...
Hey there, I have been trying to solve this for almost a hour now and I do not know what is wrong. I will show my code below with the error in...
I have been looking for why the permission for people to be able to use sign shops only. If anyone could help me I would appreciate it. Also could...
Separate names with a comma.