Fixed rare Grid crash, fixes #1483
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user