diff --git a/plugin/src/main/java/com/craftmend/openaudiomc/spigot/OpenAudioMcSpigot.java b/plugin/src/main/java/com/craftmend/openaudiomc/spigot/OpenAudioMcSpigot.java index e98430fb1..58bc5c44f 100644 --- a/plugin/src/main/java/com/craftmend/openaudiomc/spigot/OpenAudioMcSpigot.java +++ b/plugin/src/main/java/com/craftmend/openaudiomc/spigot/OpenAudioMcSpigot.java @@ -106,7 +106,11 @@ public void onEnable() { } if (getServer().getPluginManager().isPluginEnabled("Train_Carts")) { - this.trainCartsModule = new TrainCartsModule(this); + try { + this.trainCartsModule = new TrainCartsModule(this); + } catch (Exception e) { + OpenAudioLogger.toConsole("Hmn, looks like you have an old version of traincarts and thus OpenAudio failed to hook in."); + } } // set state to idle, to allow connections and such, but only if not a node