diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-25 14:06:16 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-25 14:06:16 +1100 |
commit | 560e2e2ef8e4cff22eb0a66de7d8b629fd313b9d (patch) | |
tree | 5f5964301894699bd1cda100021ab41beb2e4de4 /source/frontend/StarClientCommandProcessor.cpp | |
parent | 2c2211c91a22ef675982d725798c662f8a230e70 (diff) |
Update StarClientCommandProcessor.cpp
Diffstat (limited to 'source/frontend/StarClientCommandProcessor.cpp')
-rw-r--r-- | source/frontend/StarClientCommandProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |