Datafix harness: pre-1.17 worlds in worlds-pre-1.17, which other worktrees' harnesses do not read

This commit is contained in:
Ludovic Marie
2026-10-13 02:54:04 +02:00
parent 1705653912
commit b8ee0b27b3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ LEGACY = {'1.8.9', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1
def worlds_dir(name):
return (LOCAL if name.split('-')[0] in LEGACY else SHARED) / 'worlds'
return LOCAL / 'worlds-pre-1.17' if name.split('-')[0] in LEGACY else SHARED / 'worlds'
VERSIONS = ['1.8.9', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.1', '1.16.5', '1.17.1', '1.18.1', '1.18.2', '1.19', '1.19.2', '1.19.3', '1.19.4', '1.20.1', '1.20.2', '1.20.4', '1.20.5', '1.20.6', '1.21.1',