Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
fixing TypeError: Cannot read properties of undefined (reading 'attac…
Browse files Browse the repository at this point in the history
…hable') (#432)
  • Loading branch information
Florian Schmidt authored Aug 23, 2023
1 parent 70801b3 commit 55b6185
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/server/systems/job/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ export class Job {
*/
removeAttachable() {
const objective = this.getCurrentObjective();
if ( !objective ) {
return;
}

if (!objective.attachable) {
return;
}
Expand Down

0 comments on commit 55b6185

Please sign in to comment.