summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bot/Games/Game.pm')
-rw-r--r--lib/Bot/Games/Game.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index 610ee58..d57461d 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -11,13 +11,8 @@ has help => (
needs_init => 0,
);
-# XXX: traits has to be specified manually here because the metaclass option
-# overrides anything set up by MetaRole - once MXAH can use traits, we should
-# just use that instead.
has players => (
- metaclass => 'Collection::Array',
- traits => ['Bot::Games::Trait::Attribute::Command',
- 'Bot::Games::Trait::Attribute::Formatted'],
+ traits => ['Collection::Array'],
is => 'ro',
isa => 'ArrayRef[Str]',
auto_deref => 1,