Moved everything in /assets/ to /assets/plan

This commit is contained in:
Rsl1122 2019-04-03 23:30:41 +03:00
parent 8ff4a12bd7
commit 74bf3901bc
182 changed files with 11 additions and 11 deletions

View File

@ -91,11 +91,11 @@ public class PlanFiles implements SubSystem {
/**
* Get a file in the jar as a {@link Resource}.
*
* @param resourceName Path to the file inside jar/assets/ folder.
* @param resourceName Path to the file inside jar/assets/plan/ folder.
* @return a {@link Resource} for accessing the resource.
*/
public Resource getResourceFromJar(String resourceName) {
return new JarResource("assets/" + resourceName, () -> plugin.getResource("assets/" + resourceName));
return new JarResource("assets/plan/" + resourceName, () -> plugin.getResource("assets/plan/" + resourceName));
}
/**

View File

@ -84,7 +84,7 @@ public abstract class ConfigSystem implements SubSystem {
setDebugMode();
}
} catch (IOException e) {
throw new EnableException("Failed to save default config.", e);
throw new EnableException("Failed to save default config: " + e.getMessage(), e);
}
theme.enable();
}

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More