mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 12:46:42 +00:00
Added TrueZIP support.
This commit is contained in:
@ -56,7 +56,11 @@ public class Snapshot {
|
||||
*/
|
||||
public ChunkStore getChunkStore() throws IOException {
|
||||
if (file.getName().toLowerCase().endsWith(".zip")) {
|
||||
return new ZippedAlphaChunkStore(file);
|
||||
try {
|
||||
return new TrueZipAlphaChunkStore(file);
|
||||
} catch (NoClassDefFoundError e) {
|
||||
return new ZippedAlphaChunkStore(file);
|
||||
}
|
||||
} else {
|
||||
return new AlphaChunkStore(file);
|
||||
}
|
||||
|
Reference in New Issue
Block a user