Quiet error when getting permissions sometimes, fixes #392

This commit is contained in:
BuildTools 2018-12-01 03:17:53 -05:00
parent 0919a84dac
commit 27be2b7997

View File

@ -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;
}