Hello, As title says, how could I right-click or left-click with a custom item on a chest and if it contains materials like gold/iron ingots,...
@timtower Thank you very much mate. Got it all working. Truly life saver!
@timtower Right. Only in the player move event, correct?
@timtower Oh I get you. Gotta move it somewhere more specific right?
@timtower Isn't that if statement supposed to check the boolean if it's true or false?
@timtower Here it is: https://pastebin.com/AjqWmn06. After that a couple more commands follow up. Then after commands are 3 events.
@timtower Events obviously are outside onCommand. What else you mean? This code applies when player executes /spawn.
@timtower Hope this helps: https://pastebin.com/GcjBkya1
@timtower I actually got it working, but now I want it to be a true/false before all this happens. So I placed an if checking a specific boolean...
@timtower Maybe my code in pastebin then?
@timtower I understand. Though, I still can't quite find a way to make this work. Maybe a screenshot of my whole code would help you?
@timtower I see. So, should I rewrite the task your way or?
@timtower Nope. No warnings on that task mate.
@timtower Type mismatch: cannot convert from int to BukkitTask and it gives me a quick fix of replacing BukkitTask with int.
@timtower It's all highlighted red for some reason. Is there a specific place to put it or?
Separate names with a comma.