diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java b/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java index 452caeec3..1ec9130a0 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java @@ -120,6 +120,8 @@ public class EssentialsUpgrade { throw new Exception("Failed to rename temp file to config.yml"); } + } else { + tempFile.delete(); } } |