This commit is contained in:
Colbster937
2026-02-03 19:58:52 -06:00
parent 2c0f084bb4
commit df17431df0

View File

@@ -271,11 +271,13 @@ public final class OriginBlacklist {
} finally { } finally {
conn.disconnect(); conn.disconnect();
} }
if (Files.exists(upd)) {
Files.delete(jar); Files.delete(jar);
Files.delete(bak); Files.delete(bak);
this.jarFile = upd; this.jarFile = upd;
action1.run(); action1.run();
return; return;
}
} catch (final Throwable t) { } catch (final Throwable t) {
Files.move(bak, jar, StandardCopyOption.REPLACE_EXISTING); Files.move(bak, jar, StandardCopyOption.REPLACE_EXISTING);
throw t; throw t;