mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-13 07:10:03 +01:00
Fixed tests breaking due to class unloading
This commit is contained in:
parent
887cf3c29e
commit
09a2737053
@ -111,7 +111,9 @@ public class ShutdownUpdateHook extends Thread {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
unloadJar();
|
||||
if (!(Check.isBukkitAvailable() && Check.isSpongeAvailable() && Check.isBungeeAvailable())) {
|
||||
unloadJar();
|
||||
}
|
||||
|
||||
for (File f : toDelete) {
|
||||
if (!f.delete()) {
|
||||
|
Loading…
Reference in New Issue
Block a user