Thank you so much! It works perfectly!
I don't have any errors in the console or anything. When I die and respawn, it doesn't teleport me to where I set it. @EventHandler...
if (stack.getType() == Material.CARROT && stack.getAmount() >= 4) { That's the line I'm having trouble with THANK YOU SO MUCH! Haha I haven't...
[19:53:07 ERROR]: Could not pass event PlayerInteractEvent to HarryPotter v1.0 org.bukkit.event.EventException at...
Hmm, but my code gives an error in the console whenever I right click the sign.
is this even remotely close? @EventHandler public void onPlayerInteract2(PlayerInteractEvent e) { Player p = e.getPlayer();...
So something like this? for(ItemStack item:inv){ if(item.getType().equals(i.getType())){ Could you please give an example?
I am running the 1.11.1 Bukkit api, and I just can't figure out this problem. It always prints out "You don't have enough carrots" even when I...
oh lmao thank you
[IMG] is the image above even semi-correct for the water?
Yes on top
I have this: e.getClickedBlock().setType(Material.WATER); But that sets the block to water, not places water like a water bucket. Also, how can...
I'm not sure what you want me to do. Here's my new code: @EventHandler(priority=EventPriority.HIGH) public void...
How do I dismiss this error? Is there another way to change this code and still do the same thing without the error? I run 1.11.1 Spigot jar file....
Yes target.getDisplayName() prints out the same as getName() (since I don't have any nick or tag plugin or anything like that) Yes I have printed...
Separate names with a comma.