From 7a7a4c64f6fa48b1d48ead500d5133e03391e6e2 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Sun, 5 Jan 2020 20:02:00 +0800 Subject: [PATCH] Remove useless exception Former-commit-id: 40e3e1fb78544a292c7cc76e66607ce84ef8f38c --- src/main/java/org/maxgamer/quickshop/Util/Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/maxgamer/quickshop/Util/Util.java b/src/main/java/org/maxgamer/quickshop/Util/Util.java index 7abd1ef9b..92320fb82 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/Util.java +++ b/src/main/java/org/maxgamer/quickshop/Util/Util.java @@ -248,7 +248,7 @@ public class Util { * @throws InvalidConfigurationException when failed deserialize config */ @Nullable - public static ItemStack deserialize(@NotNull String config) throws InvalidConfigurationException, IllegalStateException { + public static ItemStack deserialize(@NotNull String config) throws InvalidConfigurationException { DumperOptions yamlOptions = new DumperOptions(); yamlOptions.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); yamlOptions.setIndent(2);