From bafc9660722a5307829416c1f8418dbc3b4cd34d Mon Sep 17 00:00:00 2001 From: Mohammad Shoaib Date: Sun, 24 Apr 2022 13:14:34 +0530 Subject: [PATCH] Added command to refresh static tiles json --- stardew-access/CustomCommands.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stardew-access/CustomCommands.cs b/stardew-access/CustomCommands.cs index fc17160..e8bba02 100644 --- a/stardew-access/CustomCommands.cs +++ b/stardew-access/CustomCommands.cs @@ -480,6 +480,13 @@ namespace stardew_access MainClass.DebugLog("Mod Config refreshed!"); }); + + helper.ConsoleCommands.Add("refst", "Refresh static tiles", (string commmand, string[] args) => + { + MainClass.STiles = new Features.StaticTiles(); + + MainClass.DebugLog("Static tiles refreshed!"); + }); } } }