0flee Posted August 28, 2022 Share Posted August 28, 2022 Someone can tell me what's wrong in this class? https://pastebin.com/5MF94GSg Link to comment Share on other sites More sharing options...
0 Zake Posted August 28, 2022 Share Posted August 28, 2022 Would you like to be more specific? Link to comment Share on other sites More sharing options...
0 0flee Posted August 28, 2022 Author Share 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 Link to comment Share on other sites More sharing options...
0 Zake Posted August 28, 2022 Share 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 Link to comment Share on other sites More sharing options...
0 0flee Posted August 28, 2022 Author Share 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 Link to comment Share on other sites More sharing options...
0 Zake Posted August 28, 2022 Share 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. Link to comment Share on other sites More sharing options...
Question
0flee
Someone can tell me what's wrong in this class?
https://pastebin.com/5MF94GSg
Link to comment
Share on other sites
5 answers to this question
Recommended Posts