Jump to content
  • 0

Instance class...


0flee

Question

5 answers to this question

Recommended Posts

  • 0

The problem it's: I have npc which player should speak with it to leave instance. When player speak with npc ( ENDING_NPC) he get reward and penalty item. But when i hit button from npc, i get this error.https://prnt.sc/mKN0gktugJcO

Link to comment
Share on other sites

  • 0
55 minutes ago, 0flee said:

The problem it's: I have npc which player should speak with it to leave instance. When player speak with npc ( ENDING_NPC) he get reward and penalty item. But when i hit button from npc, i get this error.https://prnt.sc/mKN0gktugJcO

Line 363 is empty in your paste above 😂

Anyway most likely npe comes from

  InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player)

You will have to debug why it's null

Link to comment
Share on other sites

  • 0
10 hours ago, 0flee said:

i don't know what i can do now, how i can fix that. I don't know how to debug it.

Fixed. Thank's to @An4rchy

ok, locked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...