mirror of
https://github.com/Steffo99/lihzahrd.git
synced 2024-11-21 15:44:24 +00:00
Revert "Handle hardmode ores sometimes having an unknown value"
This reverts commit abcd9aea57
.
This commit is contained in:
parent
aab014f2ed
commit
7e5bc78006
1 changed files with 3 additions and 15 deletions
|
@ -391,21 +391,9 @@ class World:
|
|||
|
||||
rain = Rain(is_active=f.bool(), time_left=f.int4(), max_rain=f.single())
|
||||
|
||||
try:
|
||||
hardmode_ore_1 = HardmodeTier1Ore(f.int4())
|
||||
except ValueError:
|
||||
hardmode_ore_1 = HardmodeTier1Ore.NOT_DETERMINED
|
||||
|
||||
try:
|
||||
hardmode_ore_2 = HardmodeTier2Ore(f.int4())
|
||||
except ValueError:
|
||||
hardmode_ore_2 = HardmodeTier2Ore.NOT_DETERMINED
|
||||
|
||||
try:
|
||||
hardmode_ore_3 = HardmodeTier3Ore(f.int4())
|
||||
except ValueError:
|
||||
hardmode_ore_3 = HardmodeTier3Ore.NOT_DETERMINED
|
||||
|
||||
altars_smashed = AltarsSmashed(count=smashed_altars_count,
|
||||
ore_tier1=hardmode_ore_1,
|
||||
ore_tier2=hardmode_ore_2,
|
||||
|
|
Loading…
Reference in a new issue