[PlayerInteractEvent] [Runnable] Help

Discussion in 'Plugin Development' started by 000nick, Jun 30, 2014.

Thread Status:
Not open for further replies.
  1. Offline


    Hello! I'm having bad issues that me and my friend (and even some of the spigot irc members) have been completely stumped on. Watch the video below to see what's going on. Whenever I right click/left click with anything, it drops 12 fallingblock entities, not 1! I figured this out when dropping it over a rose, and it dropped 12 fire tile entities, not one! The runnable which I have used in other cool abilities throws an NPE on the line with Bukkit.getScheduler... etc. Also item.setDropItem(false) doesn't work either. I use Bukkit 1.7.9 RO. 2 in my build path. Video is below. Here's my stacktrace as well (with 166 being the line with the Bukkit runnable): http://pastebin.com/f7C3DRBB

    One more thing I forgot in my code, there is a "Plugin plugin;" variable under public class so and so, and the arraylist I'm using seems to work fine.

    Code: http://pastebin.com/u5nNpkX3

    Thanks! I hope I don't sound too nooby. :(
  2. Offline


    Please paste the full class
  3. Offline


    1Rogue Can I PM you it? It's custom and I REALLY don't want script kiddies ripping off my code :/
  4. Offline


    Judging by the code I've seen, I'm pretty sure that you don't need to worry about people stealing it. But whatever makes you happy.
    Gnat008 likes this.
  5. Offline


    Unsupported builds aren't allowed here (psst: spigot). :p
  6. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    Seek support where you acquired your server mod.
Thread Status:
Not open for further replies.

Share This Page