From e6e3ccaa95276e01fc7636cf686c9fd38789ae60 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 23 Aug 2018 21:57:10 -0400 Subject: [PATCH] Fix minor bug with shutdown messages. --- .../src/main/java/com/velocitypowered/proxy/VelocityServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java index dff17b1df..76ef64ab1 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java @@ -209,7 +209,7 @@ public class VelocityServer implements ProxyServer { eventManager.fire(new ProxyShutdownEvent()); try { - if (!eventManager.shutdown() || scheduler.shutdown()) { + if (!eventManager.shutdown() || !scheduler.shutdown()) { logger.error("Your plugins took over 10 seconds to shut down."); } } catch (InterruptedException e) {