Skip to content

Commit c8a75cf

Browse files
committed
呃,忘了捕获类缺失
1 parent ffd44c7 commit c8a75cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/circulation/ae2wut/handler/WutRegisterHandler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private static void registerAE2FCContainer() {
106106
try {
107107
var b = new Object() instanceof TileFluidLevelMaintainer;
108108
registerContainer(4, ContainerWirelessFluidPatternTerminal.class);
109-
} catch (Exception ignored) {
109+
} catch (Throwable ignored) {
110110

111111
}
112112
}
@@ -115,7 +115,7 @@ private static void registerAE2FCContainer() {
115115
private static void registerMEKContainer() {
116116
try {
117117
registerContainer(5, ContainerWirelessGasTerminal.class);
118-
} catch (Exception ignored) {
118+
} catch (Throwable ignored) {
119119

120120
}
121121
}
@@ -308,7 +308,7 @@ private static void registerAE2FCGUI() {
308308
try {
309309
registerGui(4, GuiWirelessFluidPatternTerminal.class);
310310
regIcon(4, new ItemStack(FCItems.WIRELESS_FLUID_PATTERN_TERMINAL));
311-
} catch (Exception ignored) {
311+
} catch (Throwable ignored) {
312312

313313
}
314314
}
@@ -318,7 +318,7 @@ private static void registerMEKGUI() {
318318
try {
319319
registerGui(5, GuiWirelessGasTerminal.class);
320320
regIcon(5, new ItemStack(ItemAndBlocks.WIRELESS_GAS_TERMINAL));
321-
} catch (Exception ignored) {
321+
} catch (Throwable ignored) {
322322

323323
}
324324
}

0 commit comments

Comments
 (0)