Possible Android mod extension fix

This commit is contained in:
Anuken 2021-01-20 14:48:54 -05:00
parent ec73426bbc
commit 1f2b331bf6
2 changed files with 10 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class Mods implements Loadable{
/** Imports an external mod file.*/
public void importMod(Fi file) throws IOException{
Fi dest = modDirectory.child(file.name());
Fi dest = modDirectory.child(file.name() + (file.extension().isEmpty() ? ".zip" : ""));
if(dest.exists()){
throw new IOException("A file with the same name already exists in the mod folder!");
}

View File

@ -0,0 +1,9 @@
[This is a truncated changelog, see Github for full notes]
As 6.0 is more or less stable now, updates have slowed down significantly. This is likely to be one of the last notable releases before 7.0.
- Fixed same-line logic comments not parsing
- Fixed mass driver rotating before payload is received
- Fixed bullets dealing splash damage twice upon collision - splash damage of certain bullets has been increased to compensate