add setAllowPlayerDamage()