mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-03 17:29:57 +01: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) {
|
||||
try {
|
||||
quester.takeQuest(quest, false);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
evt.getWhoClicked().closeInventory();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user