Include maxStepHeight in PlayerStartMovementTemplate reading

This commit is contained in:
2026-04-11 20:59:20 +02:00
parent abd2c8ce3a
commit c224622a5d

View File

@@ -1286,6 +1286,13 @@ function readPlayerStartMovementTemplate(value: unknown, label: string) {
value.maxSpeed === undefined
? preset.maxSpeed
: expectNonNegativeFiniteNumber(value.maxSpeed, `${label}.maxSpeed`),
maxStepHeight:
value.maxStepHeight === undefined
? preset.maxStepHeight
: expectNonNegativeFiniteNumber(
value.maxStepHeight,
`${label}.maxStepHeight`
),
capabilities: {
jump: readOptionalBoolean(
capabilities?.jump,