Skip to content

Commit 72feb45

Browse files
committed
Fix cdn.
1 parent cec9d90 commit 72feb45

File tree

1 file changed

+2
-5
lines changed
  • eternalcore-core/src/main/java/com/eternalcode/core/feature/warp/repository

1 file changed

+2
-5
lines changed

eternalcore-core/src/main/java/com/eternalcode/core/feature/warp/repository/WarpConfig.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,14 @@
1414
import net.dzikoysk.cdn.source.Source;
1515

1616
@ConfigurationFile
17-
class WarpConfig implements ReloadableConfig {
18-
19-
@Exclude
20-
public static final String WARP_DATA_FILE_PATH = "data" + File.separator + "warps.yml";
17+
public class WarpConfig implements ReloadableConfig {
2118

2219
@Description({"# Warps data", "# These are warp locations, for your own safety, please don't touch it."})
2320
public Map<String, WarpConfigEntry> warps = new HashMap<>();
2421

2522
@Override
2623
public Resource resource(File folder) {
27-
return Source.of(folder, WARP_DATA_FILE_PATH);
24+
return Source.of(folder, "data" + File.separator + "warps.yml");
2825
}
2926

3027
@Contextual

0 commit comments

Comments
 (0)