Ok, it's working now, but thanks for your help anyway if (effect != null && effect.getAmplifier() <=1) {
public void BlockDamage(BlockDamageEvent e) { if (e.getBlock().getType() == Material.DEEPSLATE) { ItemStack itemInHand =...
import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener;...
Is added EventHandler, just not included in the code here and registered in the Main class
Hi everyone, I have a problem with my code to make haste effect work on deepslate block. I think i wrote the code correctly, but something doesn't...
I didn't change anything
public static void registerUser(UUID uuid, String name, String ip) { User user = new User(uuid, name, ip);...
Hello, I came across a problem that I can't deal with, the plugin to hide the player's nickname, the plugin works fine, but there is a problem...
Hello, I have a problem that I can't deal with and I ask for help, I do tabliste under 1.8 and everything works, it only generates a mistake that...
It now downloads the same name with the blaze rod, but also tries to download the unnamed and pops up the message but does not download it anyway...
@timtower I can ask a little more clearly because I don't know how to use it instead of material :/
Hello, I am creating a plugin for the limit of items in inventory and everything is fine, I only encountered a small problem ... I did the GetType...
Thank you very much! it works!
hi I have a problem with the code that generates the error and I can't handle it myself ... Please help :( [19:11:07 ERROR]: Could not pass event...
Separate names with a comma.