Merge pull request #4017 from MuriloGhignatti/patch-1
Proper error catching (regarding Quilt)
This commit is contained in:
commit
b6417b3492
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ public class DynmapMod implements ModInitializer {
|
||||||
Path path = MOD_CONTAINER.getRootPath();
|
Path path = MOD_CONTAINER.getRootPath();
|
||||||
try {
|
try {
|
||||||
jarfile = new File(DynmapCore.class.getProtectionDomain().getCodeSource().getLocation().toURI());
|
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);
|
Log.severe("Unable to get DynmapCore jar path", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue