mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-19 06:40:12 +00:00
start working on error handling stuff
This commit is contained in:
@@ -63,7 +63,7 @@ public class BootstrapAddonLoader implements BootstrapBaseAddon<BootstrapBaseAdd
|
||||
}
|
||||
|
||||
logger.debug("Loaded bootstrap addon {}@{} with entry point {}",
|
||||
addon.getID(), addon.getVersion().getFormatted(), addonObject.getClass());
|
||||
addon.getID(), addon.version().getFormatted(), addonObject.getClass());
|
||||
return addon;
|
||||
} catch(InvocationTargetException e) {
|
||||
throw new AddonLoadException("Exception occurred while instantiating addon", e);
|
||||
@@ -103,7 +103,7 @@ public class BootstrapAddonLoader implements BootstrapBaseAddon<BootstrapBaseAdd
|
||||
}
|
||||
|
||||
@Override
|
||||
public Version getVersion() {
|
||||
public Version version() {
|
||||
return VERSION;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user