Skip to content

Commit

Permalink
Merge pull request runejs#268 from rune-js/fix/gluttony
Browse files Browse the repository at this point in the history
update the plugin to work with latest plugin structure
  • Loading branch information
Tynarus authored Mar 13, 2021
2 parents 9e1f7be + 05be369 commit 7e6d42c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/config/items/food.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
},
"rs:trout": {
"extends": "rs:food",
"game_id": 335,
"game_id": 333,
"metadata": {
"consume_effects": {
"skills": {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/items/consumables/eating.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ export default {
pluginId: 'rs:eating',
hooks: [
{
type: 'item_action',
type: 'item_interaction',
widgets: widgets.inventory,
options: 'eat',
action,
handler: action,
cancelOtherActions: true
}
]
Expand Down

0 comments on commit 7e6d42c

Please sign in to comment.