Skip to content

Commit

Permalink
bestiary is now actually readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Jan 22, 2022
1 parent ccde419 commit aa10fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default class StatBlockPlugin extends Plugin {
data: Map<string, Monster>;
_bestiary: Map<string, Monster>;
get bestiary() {
return this._bestiary;
return new Map(this._bestiary);
}
watcher = new Watcher(this);
private _sorted: Monster[] = [];
Expand Down

0 comments on commit aa10fb4

Please sign in to comment.