Fixed rare Grid crash, fixes #1483

This commit is contained in:
raoulvdberge
2017-12-31 12:02:56 +01:00
parent e3e4d5385b
commit 86da76df14
2 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
- Improved the "cannot craft! loop in processing..." error message (raoulvdberge) - Improved the "cannot craft! loop in processing..." error message (raoulvdberge)
- Fixed error logs when toggling the Pattern Grid from and to processing mode (raoulvdberge) - Fixed error logs when toggling the Pattern Grid from and to processing mode (raoulvdberge)
- Fixed pattern slots in Crafters not being accessible (raoulvdberge) - Fixed pattern slots in Crafters not being accessible (raoulvdberge)
- Fixed rare Grid crash (raoulvdberge)
- Storage disk and block stored and capacity counts are formatted now in the tooltip (raoulvdberge) - Storage disk and block stored and capacity counts are formatted now in the tooltip (raoulvdberge)
- Made the Disk Manipulator unsided (inserting goes to insert slots and extracting from output slots) (raoulvdberge) - Made the Disk Manipulator unsided (inserting goes to insert slots and extracting from output slots) (raoulvdberge)

View File

@@ -113,7 +113,11 @@ public abstract class GuiBase extends GuiContainer {
public void drawScreen(int mouseX, int mouseY, float partialTicks) { public void drawScreen(int mouseX, int mouseY, float partialTicks) {
drawDefaultBackground(); drawDefaultBackground();
super.drawScreen(mouseX, mouseY, partialTicks); try {
super.drawScreen(mouseX, mouseY, partialTicks);
} catch (Exception e) {
// NO OP: Prevent a MC crash (see #1483)
}
renderHoveredToolTip(mouseX, mouseY); renderHoveredToolTip(mouseX, mouseY);