--- deliantra/server/ext/schmorp-neko.ext 2007/06/11 22:18:03 1.5 +++ deliantra/server/ext/schmorp-neko.ext 2007/09/30 16:24:30 1.7 @@ -71,12 +71,12 @@ } else { # check for fish in his inv and steal it - if (my $fish = (grep $_->arch->name eq "fishfood", $pl->inv)[0]) { + if (my $fish = (grep $_->arch->archname eq "fishfood", $pl->inv)[0]) { # add force my $gave_fish = cf::object::new "force"; $gave_fish->slaying ("schmorp-neko-gave-fish"); $gave_fish->speed (0); - $gave_fish->insert_ob_in_ob ($pl); + $pl->insert ($gave_fish); # remove fish $fish->destroy;