Fixed casting issue into DummyPlayer