Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NPE in QuestSystem when attempting to finish a sample quest #6
Happens when you run with QuestExamples, but the NPE occurs inside Tasks:
Looks like on line 80 of the quest system file (https://github.com/Terasology/Tasks/blob/master/src/main/java/org/terasology/tasks/systems/QuestSystem.java#L80) there is a call to event.getQuest(). After that, there is no check to make sure that the quest is not null. So that's why it's getting a NullPointer. As for why the quest is null, for some reason it isn't being passed in the event that is being received on line 80. I can try to fix it if you'd like?