We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d85d40 commit 83d1778Copy full SHA for 83d1778
velocity/src/main/java/it/renvins/serverpulse/velocity/config/VelocityConfiguration.java
@@ -48,7 +48,7 @@ public void load() {
48
}
49
50
private boolean copyDefaultsFromResource() {
51
- try (InputStream in = getClass().getResourceAsStream(name)) {
+ try (InputStream in = getClass().getClassLoader().getResourceAsStream(name)) {
52
if (in != null) {
53
Files.copy(in, config.getConfigurationFile().toPath());
54
return true;
0 commit comments