summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-26 23:39:57 -0500
committerdoy <doy@tozt.net>2009-04-26 23:39:57 -0500
commit7cb2144e55c04902021ffaca6fbd9bb80abf6b2b (patch)
tree5807d550cfb2ea1a9bc8dd705effd6bc1c2592a9
parente1d0030f8d0501f7d30a9bdeb1d0e13fc39c2d35 (diff)
downloadbot-games-7cb2144e55c04902021ffaca6fbd9bb80abf6b2b.tar.gz
bot-games-7cb2144e55c04902021ffaca6fbd9bb80abf6b2b.zip
manually specify the formatted trait too, for the attribute we're setting metaclass explicitly on
-rw-r--r--lib/Bot/Games/Game.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index b5fbf73..7f68b71 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -15,7 +15,8 @@ has help => (
# just use that instead.
has players => (
metaclass => 'Collection::Array',
- traits => [qw/Bot::Games::Trait::Attribute::Command/],
+ traits => ['Bot::Games::Trait::Attribute::Command',
+ 'Bot::Games::Trait::Attribute::Formatted'],
is => 'ro',
isa => 'ArrayRef[Str]',
auto_deref => 1,