summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/OO/Game.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bot/Games/OO/Game.pm')
-rw-r--r--lib/Bot/Games/OO/Game.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/OO/Game.pm b/lib/Bot/Games/OO/Game.pm
index b260477..9f19fb7 100644
--- a/lib/Bot/Games/OO/Game.pm
+++ b/lib/Bot/Games/OO/Game.pm
@@ -22,7 +22,7 @@ sub command {
);
$class->meta->add_method($name, $method_meta);
}
- for my $attr (Bot::Games::Trait::Method::Command->meta->get_attribute_list) {
+ for my $attr ($method_metaclass->get_attribute_list) {
$method_meta->$attr($args{$attr}) if exists $args{$attr};
}
}