mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-11-28 08:54:15 +00:00
feat: update to minestom 26_3
This commit is contained in:
5 files changed
+21
-3
No files matched your search
+1
-1
@@ -68,7 +68,7 @@ public class ConfigRegistry extends OpenRegistryImpl<ConfigPack> implements Exte
|
||||
|
||||
@Override
|
||||
public boolean validatePathIsMember(Path path) {
|
||||
return Files.isDirectory(path)|| path.getFileName().endsWith(".zip");
|
||||
return Files.isDirectory(path)|| path.getFileName().toString().endsWith(".zip");
|
||||
}
|
||||
|
||||
public static class PackLoadFailuresException extends Exception {
|
||||
|
||||
+1
-1
@@ -68,6 +68,6 @@ public class MetaConfigRegistry extends OpenRegistryImpl<MetaPack> implements Ex
|
||||
|
||||
@Override
|
||||
public boolean validatePathIsMember(Path path) {
|
||||
return Files.isDirectory(path) || path.getFileName().endsWith(".zip");
|
||||
return Files.isDirectory(path) || path.getFileName().toString().endsWith(".zip");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user