Only apply damage, thirst etc if in survival mode

Players that are not in survival or adventure mode will not receive
damage or potion effects and will not get thirsty.