From 54b7d1251e87c746c32c27b7fc1415546c6abbb9 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Mon, 10 Apr 2023 23:44:22 -0400 Subject: [PATCH] Fix order of logging scene group loading errors --- src/main/java/emu/grasscutter/scripts/SceneScriptManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java b/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java index 8f4ec1aa6..bb5bd689f 100644 --- a/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java +++ b/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java @@ -430,7 +430,7 @@ public class SceneScriptManager { } catch (IOException ignored) { Grasscutter.getLogger().error("Scene {} unable to load grid file.", getScene().getId()); } catch (Exception e) { - Grasscutter.getLogger().error("Scene {} unable to load grid file.", e, getScene().getId()); + Grasscutter.getLogger().error("Scene {} unable to load grid file.", getScene().getId(), e); } boolean runForFirstTime = this.groupGrids == null;