Catch NPC GUI error, fixes #771

This commit is contained in:
PikaMug 2019-04-23 00:09:12 -04:00
parent 4f921c1c5f
commit def44fb8b3

View File

@ -160,7 +160,12 @@ public class PlayerListener implements Listener {
} }
} }
if (takeable == true) { if (takeable == true) {
quester.takeQuest(quest, false); try {
quester.takeQuest(quest, false);
} catch (Exception e) {
e.printStackTrace();
}
} }
evt.getWhoClicked().closeInventory(); evt.getWhoClicked().closeInventory();
} }