mirror of
https://github.com/Steffo99/lihzahrd.git
synced 2024-11-21 23:54:23 +00:00
Change error message
This commit is contained in:
parent
7e0112a779
commit
906f2094b8
2 changed files with 2 additions and 2 deletions
|
@ -4,4 +4,4 @@ from lihzahrd.timer import Timer
|
|||
with Timer("Parse sample world"):
|
||||
world = lihzahrd.World.create_from_file("The_Gateway_To_A_New_Future.wld")
|
||||
|
||||
breakpoint()
|
||||
...
|
||||
|
|
|
@ -376,7 +376,7 @@ class World:
|
|||
savefile_type = f.uint1()
|
||||
supported_versions = (Version("1.4.0.4"), Version("1.4.0.5"))
|
||||
if version not in supported_versions or relogic != "relogic" or savefile_type != 2:
|
||||
raise NotImplementedError("This parser can only read Terraria 1.4.0.4 save files.")
|
||||
raise NotImplementedError("This parser can only read Terraria 1.4.0.4 or 1.4.0.5 save files.")
|
||||
|
||||
revision = f.uint4()
|
||||
is_favorite = f.uint8() != 0
|
||||
|
|
Loading…
Reference in a new issue