Could not pass event

Discussion in 'Plugin Development' started by fussionzz97, Mar 12, 2014.

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


  2. Offline


    You never initiated your plugin variable, it's null.

    Since you are in the main class that extends JavaPlugin you don't have to call "plugin.getConfig()", You can just call "getConfig()" since it is a part of (wich your class extends). If you still don't understand, then please learn java before you start with bukkit. It will save you from alot of failure
  3. Offline


    Have same problem...need help, explanation :D
  4. Offline


    Also, we need to see the SpawnerCreatures class, the stacktrace says the event exception was at

     at net.minecraft.server.v1_7_R1.SpawnerCreature.spawnEntities( 
    What part? Explain your problem, what is the same?
  5. Offline


    Thank you for your reply I got it fixed by referring Main class in listener's constructor...But now I have another problem...If you could take a look at the main post...many thanks! Here is the post
    I am trying to do the same thing this gentlemen is trying to do... For that matter I need to master metadata :D

    Basically I'm trying to edit metadata of newly spawned entities. In my case it is SkeletonType of Skeleton Entity

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page