Catch NullPointerException on PlayerQuit

This commit is contained in:
HappyPikachu 2015-01-30 22:58:47 -05:00
parent 02968a47e4
commit d85e7c5a57
2 changed files with 1 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public class Quest {
public Stage getStage(int index) {
try {
return orderedStages.get(index);
} catch (IndexOutOfBoundsException e) {
} catch (Exception e) {
return null;
}
}

View File

@ -307,7 +307,6 @@ public class Quester {
}
}
stack.setItemMeta(book);