1
0
mirror of https://github.com/kami-blue/client synced 2025-02-19 06:37:35 +00:00

AutoEat don't eat clown fish

They're not bad for you, but they give you only half a hunger bar and are annoying when autofishing
This commit is contained in:
Dominika 2020-05-27 16:13:09 -04:00
parent 0ccc126f61
commit d66d3ab617
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F

View File

@ -45,7 +45,7 @@ class AutoEat : Module() {
if (item === Items.ROTTEN_FLESH) return false
if (item === Items.SPIDER_EYE) return false
if (item === Items.POISONOUS_POTATO) return false
if (item === Items.FISH && stack.metadata == 3) return false // Pufferfish
if (item === Items.FISH && (stack.metadata == 3 || stack.metadata == 2)) return false // Pufferfish, Clown fish
return true
}