mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-08-20 11:42:50 +02: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