cli/validator: fix minimum y value
All checks were successful
Build maps / build-mapcrafter (push) Successful in 31s
Build maps / build-bluemap (push) Successful in 1m44s

This commit is contained in:
2026-01-17 03:57:51 +09:00
parent db319f65e6
commit a74844b877
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ def validate_no_invalid_y_values() -> list:
for marker_set in marker_sets:
for marker in marker_set.markers:
if isinstance(marker, Point):
if marker.y < 0 or marker.y > 255:
if marker.y < -64 or marker.y > 255:
result.append(
{
"error_type": "invalid_y_value",
@@ -40,7 +40,7 @@ def validate_no_invalid_y_values() -> list:
elif isinstance(marker, Track):
for i, point in enumerate(marker.points):
_, y, _ = point
if y < 0 or y > 255:
if y < -64 or y > 255:
result.append(
{
"error_type": "invalid_y_value",

View File

@@ -511,7 +511,7 @@ MARKER_SET = MarkerSet(
(-756, 25, -218),
(-765, 25, -218),
],
)
),
Track(
name="Chikatetsu Kyassuru-sen",
points=[