mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-13 15:20:14 +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
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
unloadJar();
|
if (!(Check.isBukkitAvailable() && Check.isSpongeAvailable() && Check.isBungeeAvailable())) {
|
||||||
|
unloadJar();
|
||||||
|
}
|
||||||
|
|
||||||
for (File f : toDelete) {
|
for (File f : toDelete) {
|
||||||
if (!f.delete()) {
|
if (!f.delete()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user