Datafix harness: pre-1.17 worlds in worlds-pre-1.17, which other worktrees' harnesses do not read
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user