Fix checkstyle for catch

This commit is contained in:
Ben Woo 2025-06-13 22:33:41 +08:00
parent 124dbc8836
commit 95172bfa7e

View File

@ -46,9 +46,9 @@ public class CommonListener implements Listener {
Class.forName("org.mvplugins.multiverse.core.MultiverseCoreApi"); Class.forName("org.mvplugins.multiverse.core.MultiverseCoreApi");
MultiverseCoreApi.get().getGeneratorProvider() MultiverseCoreApi.get().getGeneratorProvider()
.registerGeneratorPlugin(new MultiverseGeneratorPluginHook(platform)); .registerGeneratorPlugin(new MultiverseGeneratorPluginHook(platform));
} catch (ClassNotFoundException e) { } catch(ClassNotFoundException e) {
logger.debug("Multiverse v5 is not installed."); logger.debug("Multiverse v5 is not installed.");
} catch (IllegalStateException e) { } catch(IllegalStateException e) {
logger.error("Failed to register Terra generator plugin to multiverse.", e); logger.error("Failed to register Terra generator plugin to multiverse.", e);
} }
} }