diff --git a/core/src/main/java/com/boydti/fawe/util/Updater.java b/core/src/main/java/com/boydti/fawe/util/Updater.java index fd0af03e..171fb4a9 100644 --- a/core/src/main/java/com/boydti/fawe/util/Updater.java +++ b/core/src/main/java/com/boydti/fawe/util/Updater.java @@ -103,6 +103,10 @@ public class Updater { outFile.renameTo(finalFile); if (Settings.IMP.UPDATE.equalsIgnoreCase("true")) { + pending = true; + pendingFile = finalFile; + destFile = new File(jarFile.getParent(), "update" + File.separator + jarFile.getName()); + installUpdate(null); Fawe.debug("Updated FAWE to " + versionString + " @ " + pendingFile); MainUtil.sendAdmin("&a/restart&7 to update FAWE with these changes: &c/fawe changelog &7or&c " + "https://empcraft.com/fawe/cl?" + Integer.toHexString(currentVersion.hash));