Skip to content

Commit

Permalink
fixed fishy treat profit
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed Feb 13, 2025
1 parent 9048725 commit 2714b31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class YearOfTheSealConfig {
)
@ConfigEditorBoolean
@FeatureToggle
var fishyTreatProfit: Boolean = false
var fishyTreatProfit: Boolean = true

@Expose
@ConfigLink(owner = YearOfTheSealConfig::class, field = "fishyTreatProfit")
var fishyTreatProfitPosition: Position = Position(206, 158)
var fishyTreatProfitPosition: Position = Position(170, 150)
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ object FishyTreatProfit {
for ((slot, item) in event.inventoryItems) {
// ignore the last line of menu items
if (slot > 44) continue
// background items
if (item.name == " ") continue
try {
readItem(slot, item, table)
} catch (e: Throwable) {
Expand Down

0 comments on commit 2714b31

Please sign in to comment.