mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Some cleanup
This commit is contained in:
@@ -125,7 +125,6 @@ class FactorioStartItems(OptionDict):
|
|||||||
default = {"burner-mining-drill": 19, "stone-furnace": 19}
|
default = {"burner-mining-drill": 19, "stone-furnace": 19}
|
||||||
|
|
||||||
def __init__(self, value: typing.Dict[str, typing.Any]):
|
def __init__(self, value: typing.Dict[str, typing.Any]):
|
||||||
print(value)
|
|
||||||
if any(item_count < 1 for item_count in value.values()):
|
if any(item_count < 1 for item_count in value.values()):
|
||||||
raise Exception("Cannot have non-positive item counts.")
|
raise Exception("Cannot have non-positive item counts.")
|
||||||
super().__init__(value)
|
super().__init__(value)
|
||||||
|
Reference in New Issue
Block a user