Worked around some ZIP-related bugs.

This commit is contained in:
sk89q
2010-12-31 01:18:08 -08:00
parent 98de15fb4e
commit 59afcce512
4 changed files with 201 additions and 19 deletions

View File

@@ -57,7 +57,7 @@ public class Snapshot {
public ChunkStore getChunkStore() throws IOException, DataException {
if (file.getName().toLowerCase().endsWith(".zip")) {
try {
return new TrueZipAlphaChunkStore(file);
return new TrueZipLegacyAlphaChunkStore(file);
} catch (NoClassDefFoundError e) {
return new ZippedAlphaChunkStore(file);
}