fixes
This commit is contained in:
parent
46b4bce78f
commit
290e775165
|
@ -106,7 +106,7 @@ public class VFile {
|
||||||
if(path == null) {
|
if(path == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
int i = path.indexOf(pathSeperator);
|
int i = path.lastIndexOf(pathSeperator);
|
||||||
return i == -1 ? path : path.substring(i + 1);
|
return i == -1 ? path : path.substring(i + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class WorldConverterEPK {
|
||||||
prog += b.length;
|
prog += b.length;
|
||||||
if(prog - lastProgUpdate > 10000) {
|
if(prog - lastProgUpdate > 10000) {
|
||||||
lastProgUpdate = prog;
|
lastProgUpdate = prog;
|
||||||
IntegratedServer.updateStatusString("selectWorld.progress.importing.1", prog);
|
IntegratedServer.updateStatusString("selectWorld.progress.importing.0", prog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,7 +105,7 @@ public class WorldConverterMCA {
|
||||||
prog += b.length;
|
prog += b.length;
|
||||||
if (prog - lastProgUpdate > 25000) {
|
if (prog - lastProgUpdate > 25000) {
|
||||||
lastProgUpdate = prog;
|
lastProgUpdate = prog;
|
||||||
IntegratedServer.updateStatusString("selectWorld.progress.importing.2", prog);
|
IntegratedServer.updateStatusString("selectWorld.progress.importing.1", prog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user