Skip to content

Commit

Permalink
removed if/else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Jackson committed Sep 5, 2024
1 parent c551b59 commit 4a96b80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cmd/miner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ func main() {
if event.Name == "Strange Apparition" {
x = event.Map.X
y = event.Map.Y
} else {
x, y = artifacts.Client.FindRocks(models.Gold)
}
}
default:
Expand Down
2 changes: 0 additions & 2 deletions cmd/woodcutting/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ func main() {
if event.Name == "Magic Apparition" {
x = event.Map.X
y = event.Map.Y
} else {
x, y = artifacts.Client.FindTrees(models.DeadTree)
}
}
default:
Expand Down

0 comments on commit 4a96b80

Please sign in to comment.