Thanks for that suggestion, I haven't ever thought about ArmorStand usage :D! I'm gonna work on this now :), 'll paste results later.
You are casting CommandSender to Player, if you are executing command in console, you cannot cast it to Player.
You can also create HashMap<String, Location> (or if you need, write wrapper which contains pair of locations). As I know, It's possible to save...
If I understand you properly, I have to spawn WitherSkull and set it as vehicle of FallingBlock? If yes, then it's not working :/. I saw one...
Yes, they can. Bukkit has API for exactly what you mean (however, plugin<->mod communication was main goal). I don't know how does it work at mod...
Your IDE should return you some data about that error (i.e. where has it been thrown, in what line of code). This code you have pasted here is...
I mean any info about what line of code is throwing that exception. You should get any info if you know it's NoSuchMethodException (if it's not...
Answer for your question: unfortunately no (if believes to Bukkit JavaDoc).
Can you put here all of your error/exception stacktrace?
Can you share more code (and please use code tags :) or pastebin.com )? And what's happening? Your IDE is saying you that there's not method...
@XsergeiX Try this: boolean IsEquipable(ItemStack i) { ItemStack test = new ItemStack(i.getType()); try {...
I asked about full code, because PlayerInteractEvent handling is working for me. I replaced giveBow and giveWand calls with this...
I copied your code, I can use s.getLine(); However, there's no s.getLine(), only s.getLine(int).
Code is working fine for me. Can you share us full code?
Hi :). I'm working on SentryGun plugin - plugin which adds sentry guns, like those from TF2. It's fence, and over this fence is spawned one...
Separate names with a comma.