diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/live/LiveAPIRequestHandler.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/live/LiveAPIRequestHandler.java index 2483cb71..f61c611e 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/live/LiveAPIRequestHandler.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/live/LiveAPIRequestHandler.java @@ -61,7 +61,7 @@ public LiveAPIRequestHandler(ServerInterface server, LiveAPISettings config, Htt @Override public HttpResponse handle(HttpRequest request) { - if (!config.isLiveUpdatesEnabled()) this.notFoundHandler.handle(request); + if (!config.isLiveUpdatesEnabled()) return this.notFoundHandler.handle(request); HttpRequestHandler handler = liveAPIRequests.get(request.getPath()); if (handler != null) return handler.handle(request);