Fix minor bug with shutdown messages.

This commit is contained in:
Andrew Steinborn
2018-08-23 21:57:10 -04:00
parent 91265b12a3
commit e6e3ccaa95

View File

@@ -209,7 +209,7 @@ public class VelocityServer implements ProxyServer {
eventManager.fire(new ProxyShutdownEvent()); eventManager.fire(new ProxyShutdownEvent());
try { try {
if (!eventManager.shutdown() || scheduler.shutdown()) { if (!eventManager.shutdown() || !scheduler.shutdown()) {
logger.error("Your plugins took over 10 seconds to shut down."); logger.error("Your plugins took over 10 seconds to shut down.");
} }
} catch (InterruptedException e) { } catch (InterruptedException e) {