mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-23 18:55:14 +01:00
Merge pull request #4017 from MuriloGhignatti/patch-1
Proper error catching (regarding Quilt)
This commit is contained in:
commit
ff87b9dd3e
@ -30,7 +30,7 @@ public class DynmapMod implements ModInitializer {
|
||||
Path path = MOD_CONTAINER.getRootPath();
|
||||
try {
|
||||
jarfile = new File(DynmapCore.class.getProtectionDomain().getCodeSource().getLocation().toURI());
|
||||
} catch (URISyntaxException e) {
|
||||
} catch (URISyntaxException | IllegalArgumentException e) {
|
||||
Log.severe("Unable to get DynmapCore jar path", e);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user