aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-09-02 21:57:34 +0200
committerDoKM <mcazzyman@gmail.com>2021-09-02 21:57:34 +0200
commite3fa70ec3bed0667187c44c62764fe04eb182395 (patch)
tree672ba1e401dbb131a38a0426a5ffdd21afae7963 /src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
parent1ae37ce75ad3a47c47482aff977fb4bb25660d3e (diff)
downloadnotenoughupdates-e3fa70ec3bed0667187c44c62764fe04eb182395.tar.gz
notenoughupdates-e3fa70ec3bed0667187c44c62764fe04eb182395.tar.bz2
notenoughupdates-e3fa70ec3bed0667187c44c62764fe04eb182395.zip
Fix neuec not parsing correctly and 2 crashes when copying stuff
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
index cfc51708..22a17c9f 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
@@ -495,7 +495,7 @@ public class GuiInvButtonEditor extends GuiScreen {
} catch (IllegalArgumentException e){
return false;
}
- } catch (HeadlessException | IOException | UnsupportedFlavorException e) {
+ } catch (HeadlessException | IOException | UnsupportedFlavorException | IllegalStateException e) {
return false;
}
}