mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-22 15:22:47 +01:00
[trunk] Delete temp files, if they are not needed.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1320 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
592c30f5da
commit
2af13fd062
@ -120,6 +120,8 @@ public class EssentialsUpgrade
|
||||
{
|
||||
throw new Exception("Failed to rename temp file to config.yml");
|
||||
}
|
||||
} else {
|
||||
tempFile.delete();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user