Allow for clean shutdown

This commit is contained in:
Mike Primm 2022-02-05 03:20:22 -06:00
parent e16b642e0c
commit cfcd8fbf3e
13 changed files with 34 additions and 0 deletions

View File

@ -403,6 +403,8 @@ public class FabricServer extends DynmapServerInterface {
f.get();
} catch (CancellationException cx) {
return null;
} catch (InterruptedException cx) {
return null;
} catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -403,6 +403,8 @@ public class FabricServer extends DynmapServerInterface {
f.get();
} catch (CancellationException cx) {
return null;
} catch (InterruptedException cx) {
return null;
} catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -429,6 +429,8 @@ public class FabricServer extends DynmapServerInterface {
f.get();
} catch (CancellationException cx) {
return null;
} catch (InterruptedException cx) {
return null;
} catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -427,6 +427,8 @@ public class FabricServer extends DynmapServerInterface {
f.get();
} catch (CancellationException cx) {
return null;
} catch (InterruptedException cx) {
return null;
} catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -412,6 +412,8 @@ public class FabricServer extends DynmapServerInterface {
f.get();
} catch (CancellationException cx) {
return null;
} catch (InterruptedException cx) {
return null;
} catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -886,6 +886,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -892,6 +892,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -876,6 +876,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -899,6 +899,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -900,6 +900,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -918,6 +918,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -894,6 +894,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;

View File

@ -888,6 +888,9 @@ public class DynmapPlugin
catch (CancellationException cx) {
return null;
}
catch (InterruptedException cx) {
return null;
}
catch (ExecutionException xx) {
Log.severe("Exception while loading chunks", xx.getCause());
return null;