Skip to content

Commit

Permalink
Check inventory after wearing items, since we learn stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Nov 7, 2009
1 parent 1e4ff70 commit 13a2361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/TAEB/Action/Wear.pm
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ sub done {
}

$self->item->is_worn(1);
TAEB->send_message("check" => "inventory"); # for enchantments, etc
}

__PACKAGE__->meta->make_immutable;
Expand Down

0 comments on commit 13a2361

Please sign in to comment.