Fix changeGameMode and particle methods

Goes along with CanaryModTeam/CanaryLib@7647059