mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-22 07:25:32 +00:00
Fixed SkinBOX not parsing if under 10 arguments
This commit is contained in:
@@ -118,7 +118,9 @@ namespace PckStudio.Core.Skin
|
||||
Vector3 size = TryGetVector3(arguments, 4);
|
||||
Vector2 uv = TryGetVector2(arguments, 7);
|
||||
|
||||
int.TryParse(arguments[9], out int armorMaskFlags);
|
||||
int armorMaskFlags = default;
|
||||
if (arguments.IndexInRange(9))
|
||||
int.TryParse(arguments[9], out armorMaskFlags);
|
||||
bool mirror = arguments.IndexInRange(10) && arguments[10] == "1";
|
||||
float scale = default;
|
||||
if (arguments.IndexInRange(11))
|
||||
|
||||
2
Vendor/OMI-Lib
vendored
2
Vendor/OMI-Lib
vendored
Submodule Vendor/OMI-Lib updated: c25a822cc3...056669c296
Reference in New Issue
Block a user