0flee Posted August 28, 2022 Posted August 28, 2022 Someone can tell me what's wrong in this class? https://pastebin.com/5MF94GSg
0 0flee Posted August 28, 2022 Author Posted August 28, 2022 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
0 Zake Posted August 28, 2022 Posted August 28, 2022 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
0 0flee Posted August 28, 2022 Author Posted August 28, 2022 (edited) 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 Edited August 28, 2022 by 0flee 1
0 Zake Posted August 28, 2022 Posted August 28, 2022 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.
Question
0flee
Someone can tell me what's wrong in this class?
https://pastebin.com/5MF94GSg
5 answers to this question
Recommended Posts