mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-01 19:04:50 +00:00
Fixed SkinBox not converting bool to int
This commit is contained in:
@@ -57,7 +57,7 @@ namespace PckStudio.Classes.Models
|
||||
|
||||
public ValueTuple<string, string> ToProperty()
|
||||
{
|
||||
string value = $"{Type} {Pos.X} {Pos.Y} {Pos.Z} {Size.X} {Size.Y} {Size.Z} {U} {V} {HideWithArmor} {Mirror} {Scale}";
|
||||
string value = $"{Type} {Pos.X} {Pos.Y} {Pos.Z} {Size.X} {Size.Y} {Size.Z} {U} {V} {Convert.ToInt32(HideWithArmor)} {Convert.ToInt32(Mirror)} {Scale}";
|
||||
return new ValueTuple<string, string>("BOX", value.Replace(',', '.'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user