mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-26 16:39:45 +00: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
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ public class EssentialsUpgrade
|
|||
{
|
||||
throw new Exception("Failed to rename temp file to config.yml");
|
||||
}
|
||||
} else {
|
||||
tempFile.delete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue