From e16b642e0c7337677daf4308eced2cae7a667fd4 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Sat, 5 Feb 2022 03:13:34 -0600 Subject: [PATCH] Allow interrupted exception when shutting down --- spigot/src/main/java/org/dynmap/bukkit/DynmapPlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spigot/src/main/java/org/dynmap/bukkit/DynmapPlugin.java b/spigot/src/main/java/org/dynmap/bukkit/DynmapPlugin.java index 2821fb3b..fec426fd 100644 --- a/spigot/src/main/java/org/dynmap/bukkit/DynmapPlugin.java +++ b/spigot/src/main/java/org/dynmap/bukkit/DynmapPlugin.java @@ -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;