1928i This forum is for help... Why haven't you posted your code for help? :/
15987632 Maybe try this :oops: event.getClickedBlock().getState().setType(Material.ANVIL);
15987632 I'm not exactly sure but try this, event.getClickedBlock().setType(Material.ANVIL);
15987632 You're using a "<" symbol in your balance check, you should be using a ">" symbol.
nbkburns What part do you not understand? Maybe I can help you out :D
1928i Try this. http://forums.bukkit.org/threads/info-packets-nms-explained.177955/
Monkey_Swag Try switching that around and checking if it's null first. Edit: I'm going to go watch a movie. If you can't figure it out while I'm...
Monkey_Swag Check if Item is not null and item#getDurability() != 0
SuperGabe64 On /heal near Enhanced for loop, Entity ent : sender#getNearbyEntities(30,30,30), Check if the entity is an instance of a player. Heal ent
Gater12 A certain itemstack in the player's inventory. Sorry should've clarified that.
Gater12 I think that's what I'm already doing?
Works fine when I have multiple items, but when I have just 1 it doesn't remove the item. if(item.getAmount() == 1){...
SpaceManiac pot.getType() is returning null whenever I brew a Strength pot... So the type shouldn't be null.
So this plugin I'm making is to disable certain potion types from being brewed. The debug messages I'm getting are: D1 D3-6 I'm getting an NPE...
So I'm making a plugin that prevents certain (defined in the config.) potions from being brewed. Unfortunately I can't figure out how to do it.......
I've done this before and it worked fine, but for some reason my config is empty when I load the plugin. onEnable() public void onEnable(){...
Robin Bi Why are you using a PlayerInteractEvent? Use a PlayerItemConsumeEvent
LeonTG77 What I've always done is check if the region has a certain flag. For example: public boolean canPvP(Location p) {...
LeonTG77 There is plenty of Worldguard API documentation. Have you done research? Have you tried anything and it didn't work?
XxZHALO13Xx What is it doing? Are there any errors? Are you sure it's not your code?
Separate names with a comma.