So normally yes that would work, except that would remove the entire itemstack. I only want to remove 1 of the bars. It's still a good suggestion...
Ok now using .equals() for object comparison... Problem still exists. If my inventory hotbar contains (iron bar, empty space, coal) only the iron...
I was using .equals() before but.. I don't remember why I switched :P. I'll try changing that and see if it helps.
Hi there, having trouble squashing this bug and can't figure out why. I have this code: makeItem() is a custom method I made that takes in...
Any idea why the code isn't working? Enum conventions are nice but don't solve my problem :) I'm not looking to remove all the redstone ore. Only...
Actually, in java == only compares references to objects. .equals() refers to the actual contents. (CIS201 java class) Not saying one is better,...
Alright that works. However, having another issue now. My checkItem method works well. I am getting the "You have the right stuff!" in-game but...
Ok. that sounds like what I need to do... How would I do that? Code example would be appreciated. (not specific please, I want to figure out...
That's actually not the problem I'm having. But good to know for the future. My problem is that the redstone_ore has a custom display name and...
It's been a while and I'm still looking for a solution. Any help out there?!
Ok thanks. Any idea why the rest isn't working then? Anyone else know the answer to this? Some help would be greatly appreciated! :)
Hi there, Just had a quick problem that I think should work.. but doesn't for some reason. @EventHandler public void...
Yep , just got my letter of approval this morning. Thanks for the help! :)
Thanks a bunch :) Any idea how long the approval process takes and will they email me when it's complete?
Here's checklist so far: 1. Get plugin coded (check!) 2. Find out how to put my plugin on bukkitdev (... not yet) So, question is, how do I go...
Separate names with a comma.