From 05527fcb7c9e82f3bca41f5df7008145699aa80e Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Tue, 1 Feb 2022 14:00:00 +0100 Subject: [PATCH] Use static reference instead of local --- .../java/emu/grasscutter/server/http/handlers/GachaHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/server/http/handlers/GachaHandler.java b/src/main/java/emu/grasscutter/server/http/handlers/GachaHandler.java index 5aacb76d8..3acb5a106 100644 --- a/src/main/java/emu/grasscutter/server/http/handlers/GachaHandler.java +++ b/src/main/java/emu/grasscutter/server/http/handlers/GachaHandler.java @@ -35,7 +35,7 @@ public final class GachaHandler implements Router { express.get("/gacha", GachaHandler::gachaRecords); express.get("/gacha/details", GachaHandler::gachaDetails); - express.useStaticFallback("/gacha/mappings", this.gachaMappings, Location.EXTERNAL); + express.useStaticFallback("/gacha/mappings", gachaMappings, Location.EXTERNAL); } private static void gachaRecords(Request request, Response response) {