mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-10 12:50:26 +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) {
|
if (takeable == true) {
|
||||||
quester.takeQuest(quest, false);
|
try {
|
||||||
|
quester.takeQuest(quest, false);
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
evt.getWhoClicked().closeInventory();
|
evt.getWhoClicked().closeInventory();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user