Remove useless exception

Former-commit-id: 40e3e1fb78544a292c7cc76e66607ce84ef8f38c
This commit is contained in:
Ghost_chu committed 2020-01-05 20:02:00 +08:00
1 parent 4ce779ec49
commit 7a7a4c64f6
1 file changed
+1 -1
@@ -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);