could someone possibly take a look?

Discussion in 'Plugin Development' started by manaforge, Feb 27, 2011.

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

    manaforge

  2. Offline

    PrivateAlpha

    Yeah source would be needed...

    first error:
    Code:
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.entity.CraftPlayer.teleportTo(CraftPlayer.java:173)
            at com.bukkit.Dylan.DoTheTutorial.DoTheTutorialPlayerListener.onPlayerLo
    gin(DoTheTutorialPlayerListener.java:32)
    Something on line 173 in CraftPlayer is causing/returning a null pointer

    Second:
    Code:
     com.bukkit.Dylan.DoTheTutorial.DoTheTutorialBlockL
    istener cannot be cast to org.bukkit.event.block.BlockListener
    casting issue, hell only knows how you got that right
     
  3. Offline

    DiaAWAY

    yeah, need the source to help you with this one :)
     
  4. Offline

    Jonbas

    You need to change the path of your package. You can't use com.bukkit.* in the beginning of your path anymore. (Even though the tutorials told you to set it up this way, it's bad practice and has been blocked)
     
  5. Offline

    DiaAWAY

    Also if your code is registering the PLAYER_COMMAND event, you need to change that too, PLAYER_COMMAND doesn't exist anymore.
     
Thread Status:
Not open for further replies.

Share This Page