mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-18 15:18:34 +01:00
Quiet error when getting permissions sometimes, fixes #392
This commit is contained in:
parent
0919a84dac
commit
27be2b7997
@ -26,6 +26,7 @@ import java.net.URLClassLoader;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.ConcurrentModificationException;
|
||||
import java.util.Enumeration;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
@ -3857,6 +3858,8 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
}
|
||||
} catch (NullPointerException ne) {
|
||||
// User has no permissions
|
||||
} catch (ConcurrentModificationException cme) {
|
||||
// Bummer. Not much we can do about it
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user