Right clicking NPC doesn't work (Holding a book) #24


  • Defect
  • Started
Open
Assigned to _ForgeUser8407792
  • _ForgeUser10552502 created this issue Feb 11, 2013

    Hello.
    I'm here to report a bug about the plugin. When I create a new npc, assigned to a quest, everything looks normal. The npc looks at the player, and after reloading it's still there. But when a player right clicks the npc, instead of giving the quest menu, it gives the following errors in the console:

    2013-02-11 21:17:30 [SEVERE] Could not pass event PlayerInteractEvent to RPG-NPC v2.2.6.1
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    at net.minecraft.server.v1_4_R1.PlayerInteractManager.interact(PlayerInteractManager.java:376)
    at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:657)
    at net.minecraft.server.v1_4_R1.Packet15Place.handle(SourceFile:58)
    at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
    at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113)
    at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
    at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
    at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
    at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
    at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
    at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    Caused by: java.lang.NullPointerException
    at me.neodork.rpgnpc.listeners.PlayerEntityListener.questInfoBookEditor(PlayerEntityListener.java:70)
    at me.neodork.rpgnpc.listeners.PlayerEntityListener.locationRightclicked(PlayerEntityListener.java:52)
    at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    ... 16 more

    I use Bukkit 1.4.7 R1.0

    I am using the latest version.

    Note: Please fix this as soon as possible, because I have an rpg server and I really really need this plugin. I couldn't find a better one. Thank you for your support.

    My email: [email protected]

  • _ForgeUser10552502 added the tags New Defect Feb 11, 2013
  • _ForgeUser9522379 posted a comment Feb 11, 2013

    Hello! I have the same issue also. Same error , too! Just out of no where right clicking npc's did nothing. It used to work fine. Not sure if this would help, but here is the plugin list:

    Tim the enchanter, minecraft the last airbender plugin , void to spawn , ptweaks , worldedit , no pl (no plugins) , mc jobs , more physics Player heads, permissionsex, worldguard , colourfireworks , chairs , antixray , capslock , lockette , clearlag , protocolib , mcmmo , essentials , orebfuscator , essentialsprotect , essentialspawn , boseconomy , xauth , compact no cheat plus , essentials chat , nocheatplus factions , showcasestandalone , wireless redstone , vault , ontime , combatlog , whatisit , buttonwarp , floauction , rpg-npc .


    Edited Feb 11, 2013
  • _ForgeUser8407792 posted a comment Feb 12, 2013

    I'll look into it, would you be so kind to drop your quest Yaml file (preferably in pastebin or likewise). To keep using RPG-NPC put refresh onOpen (Information book) to false.


    Edited Feb 15, 2013
  • _ForgeUser8407792 removed a tag New Feb 12, 2013
  • _ForgeUser8407792 added a tag Started Feb 12, 2013
  • _ForgeUser9522379 posted a comment Feb 13, 2013

    @Neodorky: Go

    Heres the Quest Yaml file you requested. http://pastebin.com/4UQVj6bJ

  • _ForgeUser8407792 posted a comment Feb 13, 2013

    Thank you very much, I'll start resolving this now.


    Edited Feb 15, 2013
  • _ForgeUser8407792 posted a comment Feb 14, 2013

    Alright here is a status update: Whenever a quest with a name longer than 16 characters appears these bugs do also. I will now proceed to fix this.


    Edited Feb 15, 2013
  • _ForgeUser8407792 edited title Feb 14, 2013
  • _ForgeUser9522379 posted a comment Feb 15, 2013

    Thank you :D


To post a comment, please login or register a new account.