From 560e2e2ef8e4cff22eb0a66de7d8b629fd313b9d Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 25 Jan 2025 14:06:16 +1100 Subject: Update StarClientCommandProcessor.cpp --- source/frontend/StarClientCommandProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarClientCommandProcessor.cpp') diff --git a/source/frontend/StarClientCommandProcessor.cpp b/source/frontend/StarClientCommandProcessor.cpp index 00a6c37..7671a00 100644 --- a/source/frontend/StarClientCommandProcessor.cpp +++ b/source/frontend/StarClientCommandProcessor.cpp @@ -486,7 +486,7 @@ String ClientCommandProcessor::render(String const& path) { return strf("^red;Invalid chest sheet type '{}'^reset;", sheet); } // recovery for custom chests made by a very old generator - if (args.size() <= 2 && args[2].toLower() == "old" && assetPath.basePath.beginsWith("/items/armors/avian/avian-tier6separator/")) + if (args.size() >= 2 && args[2].toLower() == "old" && assetPath.basePath.beginsWith("/items/armors/avian/avian-tier6separator/")) assetPath.basePath = "/items/armors/avian/avian-tier6separator/old/" + assetPath.basePath.substr(41); } else if (first.equals("legs")) { assetPath.basePath = humanoid->legsArmorFrameset(); -- cgit v1.2.3