Skip to content

Fail-safe for method ExplorationMap.add() #369

@vincent4vx

Description

@vincent4vx

Currently, adding a creature already added results to the exception "The creature is already added".
Prefer perform a replace instead, and return false on the method.
Add a log message instead of throw the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions