Really? How stupid of me. Sometimes you cant see your own mistakes, Thanks for pointing it out @Lordloss
Can anyone help me out?
@EventHandler public void onVaultClose(InventoryCloseEvent e) { if(e.getInventory().getName().equalsIgnoreCase("Vault")) {...
Hey, Im trying to make something that counts the amount of items of a Inventory if you close it: ItemStack[] items =...
@ItsMas_ You are checking what item it is, That doesnt work for you. What you could try is if(clicked.getItemMeta().getDisplayName() == "Your item...
The error is at } else if (clicked.getType() == Material.SIGN){ I believe it has something to do with Material.SIGN, Material.SIGN is a placed...
This should work. if (cmd.getName().equalsIgnoreCase("createkit") && sender instanceof Player) { Player player =...
Thank you!
Hey everone! So I am working on a plugin, and it has been a while since i coded in java. So someone help me out? I have a small problem with...
Thanks bro!
Hey everyone! So i wanted to update a players inventory when he opens his Inventory. But it wont work. Im using @EventHandler public void...
Dragonphase Thanks, That workes.
Hi guys, So i am making a Wardrobe plugin, But if i make an itemstack with enchantments on it it doesnt work, It gives the armor but without...
santeri3700 It is working, Thanks Bro!
santeri3700 santeri3700 I got it working, Material and String is working..
Separate names with a comma.