fix a bug in Player::canSlash