Skip to content

Unknown prototype: simple-entity-with-force #16

@USSX-Hares

Description

@USSX-Hares

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}'")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions