mirror of
https://github.com/PikaMug/Quests.git
synced 2024-09-09 14:08:02 +02:00
Catch NPC GUI error, fixes #771
This commit is contained in:
parent
4f921c1c5f
commit
def44fb8b3
@ -160,7 +160,12 @@ public class PlayerListener implements Listener {
|
||||
}
|
||||
}
|
||||
if (takeable == true) {
|
||||
quester.takeQuest(quest, false);
|
||||
try {
|
||||
quester.takeQuest(quest, false);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
evt.getWhoClicked().closeInventory();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user