diff --git a/src/main/java/org/maxgamer/quickshop/integration/worldguard/WorldGuardIntegration.java b/src/main/java/org/maxgamer/quickshop/integration/worldguard/WorldGuardIntegration.java index 784bdf05d..d8b3d2995 100644 --- a/src/main/java/org/maxgamer/quickshop/integration/worldguard/WorldGuardIntegration.java +++ b/src/main/java/org/maxgamer/quickshop/integration/worldguard/WorldGuardIntegration.java @@ -1,6 +1,5 @@ /* * This file is a part of project QuickShop, the name is WorldGuardIntegration.java - * Copyright (C) Ghost_chu * Copyright (C) PotatoCraft Studio and contributors * * This program is free software: you can redistribute it and/or modify it @@ -85,7 +84,9 @@ public class WorldGuardIntegration extends QSIntegratedPlugin { plugin.getLogger().info(ChatColor.GREEN + getName() + " flags register successfully."); Util.debugLog("Success register " + getName() + " flags."); } catch (FlagConflictException | IllegalStateException e) { + plugin.getSentryErrorReporter().ignoreThrow(); plugin.getLogger().log(Level.SEVERE, "Failed to register " + getName() + " flags.", e); + plugin.getSentryErrorReporter().resetIgnores(); } register = true; }