Blueprint Storage
Same blueprint storage as in #15
Workaround
Changed lines 231-234 to the following:
From
|
if prototype not in self._type_mapping: |
|
raise KeyError(f"unknown prototype '{prototype}'") |
|
type = self._type_mapping[prototype] |
|
bucket = self._data[type] |
To
type: Index.Type
if (prototype in self._type_mapping):
type = self._type_mapping.get(prototype)
elif ('entity' in prototype):
type = Index.Type.ENTITY
else:
raise KeyError(f"unknown prototype '{prototype}'")
Blueprint Storage
Same blueprint storage as in #15
Workaround
Changed lines 231-234 to the following:
From
factorio-blueprint-decoder/decode
Lines 231 to 234 in d6cd156
To