Allow interrupted exception when shutting down

This commit is contained in:
Mike Primm 2022-02-05 03:13:34 -06:00
parent 1093da7657
commit e16b642e0c

View File

@ -543,6 +543,8 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
delay = f.get();
} catch (CancellationException cx) {
return null;
} catch (InterruptedException cx) {
return null;
} catch (ExecutionException ex) {
Log.severe("Exception while fetching chunks: ", ex.getCause());
return null;