Skip to content

Commit

Permalink
Fix #34 fishing and mining skills swapped
Browse files Browse the repository at this point in the history
  • Loading branch information
colecrouter committed Nov 16, 2024
1 parent ed67c16 commit e8a893f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/proxies/Skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export class Skills {
}

get mining() {
return this.raw[1] ?? 0;
return this.raw[3] ?? 0;
}

set mining(value) {
this.raw[1] = value;
this.raw[3] = value;
}

get foraging() {
Expand All @@ -32,11 +32,11 @@ export class Skills {
}

get fishing() {
return this.raw[3] ?? 0;
return this.raw[1] ?? 0;
}

set fishing(value) {
this.raw[3] = value;
this.raw[1] = value;
}

get combat() {
Expand Down

0 comments on commit e8a893f

Please sign in to comment.